inputEx-library

inputEx  0.7.1

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

Class inputEx.IntegerField - extends inputEx.StringField

A field limited to number inputs

Constructor

inputEx.IntegerField ( options )
Parameters:
options <Object> Added options:
  • negative: boolean indicating if we accept negative numbers

Properties inherited from inputEx.Field:

Methods

getValue

int getValue ( )
Get the value
Returns: int
The integer value

setOptions

void setOptions ( options )
Adds the negative, min, and max options
Parameters:
options <Object>

validate

void validate ( )
Validate if is a number

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.