inputEx-library

inputEx  0.7.1

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

Class inputEx.HiddenField - extends inputEx.Field

Create a hidden input, inherits from inputEx.Field

Constructor

inputEx.HiddenField ( options )
Parameters:
options <Object> inputEx.Field options object

Properties inherited from inputEx.Field:

Methods

getValue

Any getValue ( )
Get the previously stored value (respect the datatype of the value)
Returns: Any
the previously stored value

render

void render ( )
Doesn't render much...

setValue

void setValue ( val , [sendUpdatedEvt] )
Stores the typed value in a local variable, and store the value in the hidden input (cast as string by the input)
Parameters:
val <Any> The value 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.