-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7cd73cf
commit 5b9615b
Showing
8 changed files
with
129 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Hints and Tips for using uibuilder | ||
description: > | ||
A collection of FAQ's, how-to's, hints and tips. | ||
created: 2023-01-04 20:27:33 | ||
lastUpdated: 2023-01-04 20:27:38 | ||
--- | ||
|
||
* [Loading external files](how-to/load-external-files.md) - including HTML, styles, scripts, and web components. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: How to load external files using uibuilder | ||
description: > | ||
Include external HTML, styles, JavaScript and ECMA web components from external files. | ||
created: 2023-01-04 20:27:33 | ||
lastUpdated: 2023-01-04 20:27:38 | ||
--- | ||
|
||
This can be done from Node-RED by sending a msg to the front-end with the appropriate msg._ui data. | ||
|
||
It can also be done from front-end code by simulating a msg from Node-RED using the same data. | ||
|
||
In addition, external loads can be included in an initial UI load using the `load` method from Node-RED or the `loadui` function in the front-end - `uibuilder.loadui('something.json')`. | ||
|
||
## References | ||
|
||
* [Method: Load](../client-docs/config-driven-ui.md#method-load) | ||
* [Simulating a msg from Node-RED](../client-docs/features.md) | ||
|
Oops, something went wrong.