Example Node-RED that adds a sidebar panel in the editor
-
git clone this gist somewhere
-
In
~/.node-red
run:npm install <path to where the gist is>
-
Restart Node-RED
-
Reload the editor and marvel at the new sidebar tab
{ | |
"name": "node-red-plugin-template", | |
"version": "1.0.0", | |
"description": "An example plugin that adds a new sidebar to the editor", | |
"keywords": [], | |
"author": "", | |
"license": "Apache-2.0", | |
"node-red": { | |
"plugins": { | |
"sidebar-plugin": "sidebar-plugin.html" | |
} | |
} | |
} |
Hello, how could I add info to a variable from side bar?
I want to create a sidebar that will display a iframe only if the user added a url in the input on the top of the side bar.