From a3b9b1d2056ba5060e5580dc1b734a4b69b60356 Mon Sep 17 00:00:00 2001 From: ImaginaryDevelopment Date: Wed, 28 May 2014 14:02:52 -0400 Subject: [PATCH] docs(ngKeyup): improve example show implicit `$event` argument --- src/ng/directive/ngEventDirs.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ng/directive/ngEventDirs.js b/src/ng/directive/ngEventDirs.js index e69e6c8c6..8e6ab2cf6 100644 --- a/src/ng/directive/ngEventDirs.js +++ b/src/ng/directive/ngEventDirs.js @@ -262,8 +262,13 @@ forEach( * @example - - key up count: {{count}} +

Typing in the input box below updates the key count

+ key up count: {{count}} + +

Typing in the input box below updates the keycode

+ +

event keyCode: {{ event.keyCode }}

+

event altKey: {{ event.altKey }}

*/