inputEx Documentation Back to homepage

### inputEx Documentation > inputEx.SliderField 0.2.2

## Static Class inputEx.SliderField - extends inputEx.Field

Create a slider using YUI widgets

### Constructor

inputEx.SliderField `( options )`

Parameters:
  `options <Object>` - inputEx.Field options object

### Properties

#### static groupOptions `- Object`

group Options for each field

#### options `- Object`

Configuration object to set the options for this class and the parent classes. See constructor details for options added by this class.

### Methods

#### getValue

`<int> getValue()`
Get the value from the slider
Returns:

`<int>` The integer value

#### initEvents

`initEvents()`

#### renderComponent

`renderComponent()`
render a slider widget

#### setOptions

`setOptions(options)`
Set the classname to 'inputEx-SliderField'
Parameters:

`options <Object>` - Options object (inputEx inputParams) as passed to the constructor

#### setValue

`setValue(value[,sendUpdatedEvt])`
Function to set the value
Parameters:

`value <Any>` - The new value

`sendUpdatedEvt <boolean>` optional - (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)

#### Methods inherited from class inputEx.Field:

`focus, getEl, validate, fireUpdatedEvt, show, close, onBlur, onFocus, getStateString, setClassFromState, disable, onChange, render, updatedEvt, getState, hide, displayMessage, destroy, isEmpty, enable, clear,`

Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:31 GMT using neyricjslibs-template.