Allow a node to declare settings that should be exported

This commit is contained in:
Nick O'Leary
2017-03-01 15:01:07 +00:00
parent 4794fe495c
commit fca77a868f
6 changed files with 48 additions and 6 deletions

View File

@@ -216,6 +216,14 @@ module.exports = function(RED) {
credentials: {
user: {type:"text"},
password: {type: "password"}
},
settings: {
httpRequestColour: {
value: "red",
// validate: function(v) { return IT MUST BE A NUMBER },
// required: false,
exportable: true
}
}
});
}