Mojo.Char

Namespace Detail

Holds character code value (Refer to the actual source for values) and some useful key code checking methods.

Method Summary
Method Name and Description
Mojo.Char.isDeleteKey(key)
Mojo.Char.isEnterKey(key)
Mojo.Char.isValidWrittenChar(keyCode)
Method Detail
{boolean} Mojo.Char.isDeleteKey(key)

This functions returns true if key is the "delete" key.

Parameters:
{int} key
Key value to check
Returns:
{boolean} true if key is the "delete" key; false otherwise
{boolean} Mojo.Char.isEnterKey(key)

This functions returns true if key is the enter key.

Parameters:
{int} key
Key value to check
Returns:
{boolean} true if key is the enter key; false otherwise
Mojo.Char.isValidWrittenChar(keyCode)
Parameters:
keyCode

Documentation generated by JsDoc Toolkit 2.1.1 on Thu Oct 29 2009 15:28:12 GMT-0700 (PDT)