smart-energy-monitor/software/flow/node_modules/node-red-dashboard/nodes/ui_tab.js

16 lines
398 B
JavaScript
Raw Normal View History

2023-02-22 17:26:41 +01:00
module.exports = function(RED) {
function TabNode(config) {
RED.nodes.createNode(this, config);
this.config = {
name: config.name,
order: config.order || 0,
icon: config.icon || '',
disabled: config.disabled || false,
hidden: config.hidden || false
};
}
RED.nodes.registerType("ui_tab", TabNode);
};