C# Class Fluqi.Widget.jSlider.Options

A set of properties to apply to a set of jQuery UI Slider.
Properties not yet supported:
Inheritance: Core.Options
Datei anzeigen Open project: toepoke/Fluqi

Public Methods

Method Description
SetAnimate ( Core speed ) : Options

Whether to slide handle smoothly when user click outside handle on the bar. Currently can be the constants defined by jQuery - "slow", "normal", or "fast".

SetAnimate ( bool animate ) : Options

Flags wether the slide handle smoothly when user clicks outside the handle on the bar.

SetAnimate ( int animateMillis ) : Options

Whether to slide handle smoothly when user click outside handle on the bar. The number of milliseconds to run the animation (e.g. 1000)

SetAnimate ( string animate ) : Options

Whether to slide handle smoothly when user click outside handle on the bar. Will accept a string representing one of the three predefined speeds ("slow", "normal", or "fast")

SetDisabled ( bool disabled ) : Options

Disables (true) or enables (false) the control. Can be set when initialising (first creating) the control.

SetMax ( int max ) : Options

The maximum value of the slider.

SetMin ( int min ) : Options

The minimum value of the slider.

SetOrientation ( Core orientation ) : Options

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.

SetOrientation ( string orientation ) : Options

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.

SetRange ( bool range ) : Options

If set to true, the slider will detect if you have two handles and create a stylable range element between these two. Two other possible values are 'min' and 'max'. A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.

SetRange ( string range ) : Options

If set to true, the slider will detect if you have two handles and create a stylable range element between these two. Two other possible values are 'min' and 'max'. A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.

SetSize ( string size ) : Options

Sets the size (it's a string, so whatever units you want) of the slider. For horizontal slider this is the width or the div (100%), for vertical slider this is the height of the div (default 5em).

SetStep ( int step ) : Options

Determines the size or amount of each interval or step the slider takes between min and max. The full specified value range of the slider (max - min) needs to be evenly divisible by the step.

SetValue ( int value ) : Options

The text to display on the trigger button. Use in conjunction with showOn equal to 'button' or 'both'.

SetValues ( ) : Options

This option can be used to specify multiple handles. If range is set to true, the length of 'values' should be 2.

SetValues ( List values ) : Options

This option can be used to specify multiple handles. If range is set to true, the length of 'values' should be 2.

SetValues ( string values ) : Options

This option can be used to specify multiple handles. If range is set to true, the length of 'values' should be 2. This entry point expects a number separated list (e.g. "1,3,5")

Method Details

SetAnimate() public method

Whether to slide handle smoothly when user click outside handle on the bar. Currently can be the constants defined by jQuery - "slow", "normal", or "fast".
public SetAnimate ( Core speed ) : Options
speed Core
return Options

SetAnimate() public method

Flags wether the slide handle smoothly when user clicks outside the handle on the bar.
public SetAnimate ( bool animate ) : Options
animate bool
return Options

SetAnimate() public method

Whether to slide handle smoothly when user click outside handle on the bar. The number of milliseconds to run the animation (e.g. 1000)
public SetAnimate ( int animateMillis ) : Options
animateMillis int
return Options

SetAnimate() public method

Whether to slide handle smoothly when user click outside handle on the bar. Will accept a string representing one of the three predefined speeds ("slow", "normal", or "fast")
public SetAnimate ( string animate ) : Options
animate string
return Options

SetDisabled() public method

Disables (true) or enables (false) the control. Can be set when initialising (first creating) the control.
public SetDisabled ( bool disabled ) : Options
disabled bool
return Options

SetMax() public method

The maximum value of the slider.
public SetMax ( int max ) : Options
max int
return Options

SetMin() public method

The minimum value of the slider.
public SetMin ( int min ) : Options
min int
return Options

SetOrientation() public method

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.
public SetOrientation ( Core orientation ) : Options
orientation Core
return Options

SetOrientation() public method

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.
public SetOrientation ( string orientation ) : Options
orientation string
return Options

SetRange() public method

If set to true, the slider will detect if you have two handles and create a stylable range element between these two. Two other possible values are 'min' and 'max'. A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.
public SetRange ( bool range ) : Options
range bool
return Options

SetRange() public method

If set to true, the slider will detect if you have two handles and create a stylable range element between these two. Two other possible values are 'min' and 'max'. A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.
public SetRange ( string range ) : Options
range string
return Options

SetSize() public method

Sets the size (it's a string, so whatever units you want) of the slider. For horizontal slider this is the width or the div (100%), for vertical slider this is the height of the div (default 5em).
public SetSize ( string size ) : Options
size string
return Options

SetStep() public method

Determines the size or amount of each interval or step the slider takes between min and max. The full specified value range of the slider (max - min) needs to be evenly divisible by the step.
public SetStep ( int step ) : Options
step int
return Options

SetValue() public method

The text to display on the trigger button. Use in conjunction with showOn equal to 'button' or 'both'.
public SetValue ( int value ) : Options
value int
return Options

SetValues() public method

This option can be used to specify multiple handles. If range is set to true, the length of 'values' should be 2.
public SetValues ( ) : Options
return Options

SetValues() public method

This option can be used to specify multiple handles. If range is set to true, the length of 'values' should be 2.
public SetValues ( List values ) : Options
values List
return Options

SetValues() public method

This option can be used to specify multiple handles. If range is set to true, the length of 'values' should be 2. This entry point expects a number separated list (e.g. "1,3,5")
public SetValues ( string values ) : Options
values string
return Options