Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 4672701

Browse files
Troubleshooting: update to line 150
1 parent a88aae4 commit 4672701

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

public/docs/ts/latest/guide/user-input.jade

+6-3
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,13 @@ figure.image-display
145145
One way to reduce the noise would be to examine every `$event.keyCode` and take action when the key is Enter.
146146
But there's an easier way: bind to Angular's `keyup.enter` pseudo-event. With this pseudo-event,
147147
Angular calls the event handler only when the user presses Enter.
148-
149-
In this example, the data binding expression handles the event. It's a better practice
150-
to minimize JavaScript in HTML. Move this code to the component.
151148
+makeExample('user-input/ts/app/keyup.components.ts', 'key-up-component-3' ,'app/keyup.components.ts (v3)')(format=".")
149+
150+
.l-sub-section
151+
:marked
152+
In this example, the data binding expression handles the event. It's a better practice
153+
to minimize JavaScript in HTML. Move this code to the component.
154+
152155
:marked
153156
Here's how it works.
154157
figure.image-display

0 commit comments

Comments
 (0)