DHTMLX Docs & Samples Explorer

Event Handling

The following events are available in dhtmlxSlider:

Attaching Event Handler

The user can add any user-defined handler to any of the available events. To do this, the user can use attachEvent() method that sets the function called when specified event occurs. It has the following parameters:

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

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