From 0dd600974cfdd4043e9b20368cb4c018a46e584a Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Fri, 4 Dec 2009 18:27:49 -0600 Subject: [PATCH] Add documentation for event key codes. (cherry picked from commit 93bd2048e2c106ecc309292be358ef398df05984) --- src/dom/event.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dom/event.js b/src/dom/event.js index 8158eff..f7a4817 100644 --- a/src/dom/event.js +++ b/src/dom/event.js @@ -25,7 +25,10 @@ * browsers. * * `Event` also provides a standardized list of key codes you can use with - * keyboard-related events. + * keyboard-related events, including `KEY_BACKSPACE`, `KEY_TAB`, + * `KEY_RETURN`, `KEY_ESC`, `KEY_LEFT`, `KEY_UP`, `KEY_RIGHT`, `KEY_DOWN`, + * `KEY_DELETE`, `KEY_HOME`, `KEY_END`, `KEY_PAGEUP`, `KEY_PAGEDOWN` and + * `KEY_INSERT`. * * The functions you're most likely to use a lot are [[Event.observe]], * [[Event.element]] and [[Event.stop]]. If your web app uses custom events,