Skip to content

Commit

Permalink
Correcting template reference
Browse files Browse the repository at this point in the history
At this point the template already has the class = "submit-button".
  • Loading branch information
parloti authored Apr 19, 2017
1 parent e5bcd53 commit 7be04a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorial/ng-chapter-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Most user interfaces are driven by events. In NativeScript apps, those events ar
<b>Exercise</b>: Add a <code>tap</code> event handler
</h4>

Open `app/app.component.ts`, find the existing sign in button within your component’s `template` (`<Button text="Sign in"></Button>`), and replace it with the following code:
Open `app/app.component.ts`, find the existing sign in button within your component’s `template` (`<Button text="Sign in" class="submit-button"></Button>`), and replace it with the following code:

``` TypeScript
<Button text="Sign in" class="submit-button" (tap)="submit()"></Button>
Expand Down

0 comments on commit 7be04a3

Please sign in to comment.