This signature does not accept any arguments. This action retrieves the current value of options.values (the value of the sliders in an array). This action is used to set the value of the slider. It is used only if the slider is unique (if not, use slider ("values")). This action is used to retrieve the current value of options.value (the slider). The argument options is a map of option-value pairs to be set. This action sets one or more options for the slider. The argument optionName is name of the option to be set and value is the value to be set for the option. This action sets the value of the slider option associated with the specified optionName. This action gets an object containing key/value pairs representing the current slider options hash. Here optionName is the name of the option to get. This option corresponds to one of those used with slider (options). This action is used to retrieve the value of the specified param option. This method does not accept any arguments. This action is used to enable the slider functionality. This action is used to disable the slider functionality. The elements return to their pre-init state. This action is used to destroy the slider functionality of an element completely. Check out the actions that can be passed, in the following table.įollowing is a list of different actions that can be used with this method: Action This action is specified as a string in the first argument (e.g., "value" to indicate a new value of the cursor). The slider ("action", params) method specifies an action on the slider, such as moving the cursor to a new location. $(selector, context).slider ("action", params) Let's take a simple example to demonstrate the slider functionality, passing no parameters to the slider() method. This option should be an array of possible values, one for each handle. This option is of type array and causes multiple handles to be created and specifies the initial values for those handles. In the case of multiple handles (see the values options), it specifies the value for the first handle. This option is used to specify the initial value of a single-handle slider. This option is used to specify discrete intervals between the minimum and maximum values that the slider is allowed to represent. This option indicates whether the slider represents a range. This option specifies the horizontal or vertical orientation of the slider. This option is used to specify the lower value of the range that the slider can attain?the value represented when the handle is moved to the far left (for horizontal sliders) or bottom (for vertical sliders). This option is used to specify the upper value of the range that the slider can attain?the value represented when the handle is moved to the far right (for horizontal sliders) or top (for vertical sliders). If you set this option as true, it disables the slider. If you set this option as true, it creates an animated effect when users click directly on the axis. $(selector, context).slider() įollowing is a list of different options that can be used with this method.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |