@5minds/node-red-dashboard-2-processcube-ui-page-navigation 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -29
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,32 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ProcessCube UI Page Navigation
|
|
2
2
|
|
|
3
|
+
This repository contains a Dashboard 2.0 UI node that listens to UI events on a specific page.
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
## Installation and Usage
|
|
5
6
|
|
|
6
|
-
To
|
|
7
|
-
|
|
8
|
-
```bash
|
|
9
|
-
# if using HTTPS:
|
|
10
|
-
git clone https://github.com/FlowFuse/node-red-dashboard-2-ui-example.git
|
|
11
|
-
|
|
12
|
-
# if using SSH:
|
|
13
|
-
git clone git@github.com:FlowFuse/node-red-dashboard-2-ui-example.git
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
Then, you can install it's dependencies with:
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
npm install
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Development with Dashboard 2.0
|
|
23
|
-
|
|
24
|
-
You can read our [contribution guide](https://dashboard.flowfuse.com/contributing/widgets/third-party.html) for details on developing your own Dashboard 2.0 integrations & widgets.
|
|
25
|
-
|
|
26
|
-
This project is intended to be used as a starting point for creating your own custom nodes that can integrate directly with [Node-RED Dashboard 2.0](https://github.com/FlowFuse/flowforge-nr-dashboard).
|
|
27
|
-
|
|
28
|
-
Note that if you're looking to contribute directly to Node-RED Dashboard 2.0, then use the examples already in the core repository to build on, as they are structured differently to external/third-party widgets.
|
|
29
|
-
|
|
30
|
-
## Architecture
|
|
31
|
-
|
|
32
|
-
All third-party (non-core) nodes for Node-RED Dashboard 2.0 are structured such that they extend the core `ui-template` node, and provide access such that you can define custom HTML, CSS, and JavaScript for your widget.
|
|
7
|
+
To use this node, you need to install the Dashboard 2.0 plugin for Node-RED.
|
|
8
|
+
After installing both packages, simply drag the node into your flow and specify the name of the page where you want to listen for events.
|
package/package.json
CHANGED