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

16 lines
398 B
JavaScript

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);
};