inputEx-library

inputEx  0.7.1

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

Class inputEx.UpperCaseField - extends inputEx.StringField

A field where the value is always uppercase

Constructor

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

Properties inherited from inputEx.Field:

Methods

onKeyPress

void onKeyPress ( e )
Call setvalue on input to update the field with upper case value
Parameters:
e <Event> The original 'input' event

setValue

void setValue ( val , [sendUpdatedEvt] )
Set the value and call toUpperCase
Parameters:
val <String> The string
[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.