inputCreated

fires when a new input is added

void inputCreated(string id,HTMLElement el){ ... };

Parameters

idstringthe ID of a new input
elHTMLElementa newly created input

Example

toolbar.events.on("InputCreated", function(id, el){
    console.log(id);
});

Related samples

Back to top