Hello,
Is there documentation for how to use tabs for a node UI? I tried to follow the mqtt node code and found a call to RED.tabs.create but I could not make it work. Does it require some special naming of the id for a tab div (like the one used for node defaults where the format node-input- is needed)?
Thank you!
Hi - sorry, no there is not any documentation for the RED.tabs api. The best I can say is it's used in quite a few places within the editor and they all serve as examples of its usage.
There is no particular naming requirement for the id.
Thank you, I will try to follow the core nodes examples more closely.
But as an aside question, which are the main UI wrappers available? For example I saw that there also exists RED.editor, used in the function node.
Thank you!
dum., 19 aug. 2018, 02:12 Nick O'Leary nodered@discoursemail.com a scris:
The common ui components are here: https://github.com/node-red/node-red/tree/master/editor/js/ui/common
Currently only TypedInput and EditableList are documented: Editor APIs : Node-RED
Thank you!
Catalin
dum., 19 aug. 2018, 02:31 Nick O'Leary nodered@discoursemail.com a scris: