inputEx-library

inputEx  0.7.1

inputEx-library > inputEx > inputEx.ColorPickerField
Search:
 
Filters

Class inputEx.ColorPickerField - extends inputEx.Field

Create a Color picker input field

Constructor

inputEx.ColorPickerField ( options )
Parameters:
options <Object> Added options for ColorPickerField :
  • showcontrols: show the input values RGB,HSV,RGB hex

Properties inherited from inputEx.Field:

Methods

getValue

String getValue ( )
Return the color value
Returns: String
Color value

renderComponent

void renderComponent ( )
Render the color button and the colorpicker popup

setOptions

void setOptions ( options )
Adds the 'inputEx-ColorPickerField' default className
Parameters:
options <Object> Options object as passed to the constructor

setValue

void setValue ( value , [sendUpdatedEvt] )
Set the value
Parameters:
value <String> Color to set
[sendUpdatedEvt] <boolean> (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.