Wijmo UI for the Web
wijslider jQuery Widget
Provide a simple, sliding selector that allows end-users to choose a single value or a range of values in a predefined range at run time.
Syntax
Javascript (Usage) 
$(function () {
    var options; // Type:  wijmo.slider.wijslider.options
     
    $(".selector").wijslider(options);
});
Javascript (Specification) 
function wijslider() : any;
Browser Compatibility
7
5
5
Options
 NameDescription
public Optionanimate

Default value: false

The animate option defines the sliding animation that is applied to the slider handle when a user clicks outside the handle on the bar.

 
public Optioncancel  
public Optioncreate  
public Optiondelay  
public Optiondisabled  
public Optiondistance  
public OptiondragFill

Default value: true

The dragFill option, when set to true, allows the user to drag the fill between the thumb buttons on the slider widget.

 
public Optionmax

Default value: 100

The max option defines the maximum value of the slider widget.

 
public Optionmin

Default value: 0

The min option defines the minimum value of the slider widget.

 
public OptionminRange

Default value: 0

The minRange option prevents the two range handles (thumb buttons) from being placed on top of one another.

 
public Optionorientation

Default value: 'horizontal'

The orientation option determines whether the wijslider is positioned horizontally or vertically.

 
public Optionrange

Default value: false

The range option, if set to true, allows the slider to detect if you have two handles.

 
public Optionstep

Default value: 1

The step option determines the size of each interval between the slider minimum value and the slider maximum value.

 
public Optionvalue

Default value: 0

The value option determines the total value of the slider widget when there is only one range handle.

 
public Optionvalues

Default value: null

The values option can be used to specify multiple handles.

 
Top
Methods
 NameDescription
public MethoddestroyRemove the functionality completely. This will return the element back to its pre-init state.  
public Methoddisable  
public Methodenable  
public Methodoption  
public MethodrefreshRefresh the wijslider widget.  
public MethodvalueDetermines the value of the slider, if there's only one handle.  
public MethodvaluesThis option can be used to specify multiple handles.  
public Methodwidget  
Top
Events
 NameDescription
public EventbuttonClickThe buttonClick event is raised when the decrement button or the increment button is clicked.  
public EventbuttonMouseDownThe buttonMouseDown event is raised when the mouse is down on the decrement button or the increment button.  
public EventbuttonMouseOutThe buttonMouseOut event is raised when the mouse leaves the decrement button or the increment button.  
public EventbuttonMouseOverThe buttonMouseOver event is raised when the mouse is over the decrement button or the increment button.  
public EventbuttonMouseUpThe buttonMouseUp event is raised when the mouse is up on the decrement button or the increment button.  
public EventchangeThe change event is triggered when the user stops moving the range handle or when a value is changed programatically.  
public EventslideTriggered on every mouse move during slide.  
public EventstartThe start event is triggered when the user begins to move the slider thumb.  
public EventstopThe stop event is triggered when the user stops sliding the slider thumb.  
Top

See Also

Widgets

Slider

Reference

wijslider jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.