@5minds/node-red-dashboard-2-processcube-ui-page-navigation 1.0.4-extend-documentation-b8283e-m4b4f4kc → 1.1.0-develop-26bf4b-m61vwdl5
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.
|
@@ -54,8 +54,7 @@
|
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
56
|
<script type="text/markdown" data-help-name="ui-page-navigation">
|
|
57
|
-
A
|
|
58
|
-
It builds on the same foundation but introduces enhanced filtering capabilities for both events and pages.
|
|
57
|
+
A Note to listen on events for the page navigation.
|
|
59
58
|
|
|
60
59
|
## Outputs
|
|
61
60
|
|
|
@@ -34,6 +34,7 @@ module.exports = function (RED) {
|
|
|
34
34
|
const evts = {
|
|
35
35
|
onSocket: {
|
|
36
36
|
'ui-event': function (conn, id, msg) {
|
|
37
|
+
console.log(`ui-page-navigation pagenName: ${pageName} topic: ${msg.topic} conn:${conn} id:${id}`);
|
|
37
38
|
if (config.event != 'any' && config.event != msg.topic) return;
|
|
38
39
|
if (pageName != '' && pageName != msg.payload.page.name) return;
|
|
39
40
|
const wNode = RED.nodes.getNode(node.id);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@5minds/node-red-dashboard-2-processcube-ui-page-navigation",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0-develop-26bf4b-m61vwdl5",
|
|
4
4
|
"description": "A node to handle the navigation between pages in the Node-RED Dashboard",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node-red",
|