Coming soon.
ON('open.componentname', function(component, options) {
// Settings will be open
});
ON('save.componentname', function(component, options) {
// Settings will be save
});
ON('select.componentname', function(component) {
// A component has been selected in designer.
});
ON('click.componentname', function(component) {
// Performed "click"
});
ON('add.componentname', function(component) {
// A component has been added.
});
ON('rem.componentname', function(component) {
// A component has been removed.
});
ON('apply', function() {
// Designer will be sent to server and then will be applied
});
v3.0.0+
This is only possible on client-side.
ON('save.componentname', function(component, options) {
component.output = 5;
// component.input = 3;
// or
component.output = ['green', 'red', 'blue'];
// component.input = ['green', 'red', 'blue'];
// or set output to default
component.output = null;
// component.input = null;
});
Bellow jComponents can be used in Settings form
:
body
)body
)body
)body
)body
)body
)body
)body
)References: