Mojo.Char
Namespace Detail
Holds character code value (Refer to the actual source for values) and some useful key code checking methods.
| Method Name and Description |
|---|
|
Mojo.Char.isDeleteKey(key)
|
|
Mojo.Char.isEnterKey(key)
|
|
Mojo.Char.isValidWrittenChar(keyCode)
|
Method Detail
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
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
- Parameters:
- keyCode