Skip to content

Commit

Permalink
[DOC release] Use co-location for another example file path
Browse files Browse the repository at this point in the history
(cherry picked from commit 4b3bbc0)
  • Loading branch information
dmzza authored and kategengler committed Jan 20, 2020
1 parent e2c356b commit 77f06c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ember/-internals/glimmer/lib/modifiers/on.ts
Expand Up @@ -220,7 +220,7 @@ function addEventListener(
For example, if you'd like to run a function on your component when a `<button>`
in the components template is clicked you might do something like:
```app/templates/components/like-post.hbs
```app/components/like-post.hbs
<button {{on 'click' this.saveLike}}>Like this post!</button>
```
Expand Down

0 comments on commit 77f06c8

Please sign in to comment.