The user can add any user-defined handler to any of the available events. To do this, the user can use the attachEvent method with the following parameters:
Several handlers can be attached to one and the same event, and all of them will be executed. The names of the events are case-insensitive.
There is a simple way of removing an event-handler:
$$("filemanager").detachEvent(id); // unique id of the event handler
You can find the full list of supported events in the File Manager API Reference.Back to top