docs: Fixed minor typos in attribute-directives and user-input
closes #556 * user-input.jade
This commit is contained in:
parent
4c7287b3e6
commit
912ed52f25
|
@ -61,7 +61,7 @@ include ../../../../_includes/_util-fns
|
|||
and relocate the call to `bootstrap` to a separate `boot.ts` file.
|
||||
+makeExample('attribute-directives/ts/app/boot.ts', null, 'app/boot.ts')
|
||||
:marked
|
||||
A clean `app.component.ts` without bootstrapping is much easer to test.
|
||||
A clean `app.component.ts` without bootstrapping is much easier to test.
|
||||
|
||||
Finally, we remember to update `index.html` to load `boot.ts`
|
||||
|
||||
|
|
|
@ -113,9 +113,9 @@ figure.image-display
|
|||
We're binding to the number 0, the shortest expression we can think of.
|
||||
That is all it takes to keep Angular happy. We said it would be clever!
|
||||
:marked
|
||||
That local template variable is intriguing. It's clearly easer to get to the textbox with that
|
||||
That local template variable is intriguing. It's clearly easier to get to the textbox with that
|
||||
variable than to go through the `$event` object. Maybe we can re-write our previous
|
||||
"key-up" example using the variable to acquire the user's' input. Let's give it a try.
|
||||
"key-up" example using the variable to acquire the user's input. Let's give it a try.
|
||||
+makeExample('user-input/ts/app/keyup.components.ts', 'key-up-component-2' ,'app/keyup.components.ts (v2)')
|
||||
:marked
|
||||
That sure seems easier.
|
||||
|
|
Loading…
Reference in New Issue