inputCreated
fires when a new input is added
inputCreated: (id: string | number, input: HTMLInputElement) => void;
Parameters:
id: string | number
- the ID of a new inputinput: HTMLInputElement
- a newly created input
Example
sidebar.events.on("inputCreated", function(id, el){
console.log(id);
});