DHTMLX Docs & Samples Explorer

attachEvent (evName, evHandler)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxtabbar.js

adds any user-defined handler to available events

  • evName - the name of an event;
  • evHandler - a user-defined event handler.
tabbar.attachEvent(evName, evHandler);

Several handlers can be attached to one and the same event, and all of them will be executed.

Note: the names of the events are case-insensitive.