DHTMLX Docs & Samples Explorer

Index
dhtmlxslider
API Methods

### attachEvent (evName, evHandler)

Required library edition:
Required library file: dhtmlxslider.js

adds any user-defined handler to available events

- evName - name of the event;
- evHandler - user-defined event handler.

                  slider.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.