DHTMLX Docs & Samples Explorer

Index
dhtmlxslider
API Methods

## List of initialization properties

### Common initialization options

- parent - string or object, id of container, where tree will be initialized, mandatory
- link - {string|object} link slider to other control(linkTo)
- size - (integer} size in pixels
- skin - {string} name of skin, optional
- vertical - (boolean} if set to true - slider will be rendered as vertical one
- min - (integer} max value of slider
- max - (integer} min value of slider
- value - (integer} current value of slider
- step - (integer} step of slider

### Events

any event can be assigned by using property equal to event name

    	slider = new dhtmlxSlider({
    		parent:"my_slider_here",
                    size:100,
    		onChange:function(){
    			alert("I'm changed");
    		}
    	});