Namespace for event handler functions
- Source:
Methods
(static) keydown(e)
Event handler to insert or remove tabs and newlines on the keydown event
for the tab or enter key.
Parameters:
Name | Type | Description |
---|---|---|
e |
Event | the event object |
- Source:
(static) keypress(e)
Event handler to prevent the default action for the keypress event when
tab or enter is pressed. Opera and Firefox also fire a keypress event
when the tab or enter key is pressed. Opera requires that the default
action be prevented on this event or the textarea will lose focus.
Parameters:
Name | Type | Description |
---|---|---|
e |
Event | the event object |
- Source: