adds any user-defined handler to available events
name | string | name of the event |
handler | function | user-defined event handler |
number | internal event id, you can use it for detachEvent(id) |
// attach event
var evId = myComponent.attachEvent("eventName", function(){
// your code here
});
// detach event
myComponent.detachEvent(evId);
This API page is for Vault v2.5. Please go to docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.