Hi,
have a config node div in my custom node, as a config type:
RED.nodes.registerType('json-config', {
category: 'config',
defaults: {
title: {
value: "",
required: true
},
jsonInput: {
value: "",
required: true
},
jsonOutput: {
value: "",
required: true
}
},
label: function () {
return this.title
},
})
and it is in my main custom node included as:
<div class="form-row">
<label for="node-input-config"><i class="fa fa-globe"></i> Config</label>
<input type="text" id="node-input-config" placeholder="Config">
</div>
if i click update on my config type how can i trigger anything in the parent node to reconfigure for example. Is there an event like onconfigchange or something?