Skip to content

Commit

Permalink
Merge pull request NativeScript#736 from parloti/patch-1
Browse files Browse the repository at this point in the history
Correcting template reference
  • Loading branch information
tsonevn authored Apr 26, 2017
2 parents 453a9a6 + 7be04a3 commit 61fd9d9
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 61fd9d9

Please sign in to comment.