inputEx-library

inputEx  0.7.1

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

Class inputEx.MultiAutoComplete - extends inputEx.AutoComplete

Known Subclasses:
inputEx.MultiAutoCompleteCustom
Create a multi autocomplete field

Constructor

inputEx.MultiAutoComplete ( options )
Parameters:
options <Object> Added options:

Properties inherited from inputEx.Field:

Methods

getState

void getState ( )
Return (stateEmpty|stateRequired) if the value equals the typeInvite attribute

getValue

Any getValue ( )
Return the value
Returns: Any
an array of selected values

itemSelectHandler

void itemSelectHandler ( )
Handle item selection in the autocompleter to add it to the list

onChange

void onChange ( e )
onChange event handler
Parameters:
e <Event> The original 'change' event

renderComponent

void renderComponent ( )
Build the DDList

setOptions

void setOptions ( )
Additional options

setValue

void setValue ( value , [sendUpdatedEvt] )
Set the value
Parameters:
value <String> 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)

validate

void validate ( )
TODO : how to validate ?

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.