inputEx-library

inputEx  0.7.1

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

Class inputEx.VectorField - extends inputEx.Field

A field limited to number inputs (floating)

Constructor

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

Properties inherited from inputEx.Field:

Methods

addChoice

void addChoice ( ) )
Add a choice
Parameters:
) <Object} config An object describing the choice to add (e.g. { value: 'second' [, label: 'Second' [, position: 1 || after: 'First' || before: 'Third']] >

disableChoice

void disableChoice ( ) )
Disable a choice
Parameters:
) <Object} config An object targeting the choice to disable (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >

enableChoice

void enableChoice ( ) )
Enable a choice
Parameters:
) <Object} config An object targeting the choice to enable (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >

getChoicePosition

void getChoicePosition ( ) )
Get the position of a choice in choicesList (NOT in the DOM)
Parameters:
) <Object} config An object targeting the choice (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >

hideChoice

void hideChoice ( ) )
Hide a choice
Parameters:
) <Object} config An object targeting the choice to hide (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >

removeChoice

void removeChoice ( ) )
Remove a choice
Parameters:
) <Object} config An object targeting the choice to remove (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >

setOptions

void setOptions ( )
Additional options for VectorField (dimension, size)

showChoice

void showChoice ( ) )
Show a choice
Parameters:
) <Object} config An object targeting the choice to show (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' >

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.