Version

WebSlider class Members

The following tables list the members exposed by WebSlider.

Public Constructors
 NameDescription
Public ConstructorWebSlider Constructor  
Public Properties
 NameDescription
Public PropertyenabledGets sets enabled state of control as Boolean.True: control is enabled  
Public PropertymaxValueAsDoubleGets maximum value as number. In case of Date the milliseconds are returned.Maximum value  
Public PropertyminValueAsDoubleGets minimum value as number. In case of Date the milliseconds are returned.Minimum value  
Public PropertysecondaryThumbEnabledGets sets ability to move secondary thumb by end user as Boolean.True: thumb is enabled  
Public PropertysecondaryValueGets sets secondary value as Object. That can be Number or Date object according to SliderValueType.  
Public PropertythumbEnabledGets sets ability to move main thumb by end user as Boolean.True: thumb is enabled  
Public PropertyvalueGets sets main value as Object. That can be Number or Date object according to SliderValueType.  
Public PropertyvalueLabelFormatGets format used for value labels. String that contains {0} and/or {1} substrings. All other parts of format are used as static characters.Format string  
Public Methods
 NameDescription
Public MethoddisposeDisposes object and event handlers.  
Public MethoddoubleToValueConverts value as Number to Object.  
Public MethodfindFinds WebSlider by its client ID.  
Public MethodfocusSets focus to slider.True: call input.focus() using setTimeout  
Public MethodfromCasts passed in object to the WebSlider type.  
Public MethodgetButtonElemGets reference to IMG html element which renders plus or minus button.  
Public MethodgetLabelElemGets reference to DIV html element which renders label with value of thumb or secondary thumb.  
Public MethodgetThumbElemGets reference to IMG or DIV html element which renders main or secondary thumb.  
Public MethodgetTrackEdgeElemGets reference to DIV html element which renders edges of track bar.  
Public MethodgetTrackElemGets reference to DIV html element which renders track bar and value-track bars.  
Public MethodgetValueGets main or secondary value as Object.  
Public MethodgetValueAsDoubleGets main or secondary value as Number.  
Public MethodgetValueAsPercentGets main or secondary value as percent.  
Public MethodinitializeInitializes instance of WebSlider.  
Public MethodpercentToValueConverts number as percent to number or object.  
Public MethodsetValueAsDoubleSets value of main or secondary thumb from float point number.  
Public MethodsetValueAsPercentSets value of main or secondary thumb using percentage.  
Public MethodvalueToDoubleConverts value to Number object.  
Public MethodvalueToPercentConverts value to percent.  
See Also