We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2c356b commit 77f06c8Copy full SHA for 77f06c8
packages/@ember/-internals/glimmer/lib/modifiers/on.ts
@@ -220,7 +220,7 @@ function addEventListener(
220
For example, if you'd like to run a function on your component when a `<button>`
221
in the components template is clicked you might do something like:
222
223
- ```app/templates/components/like-post.hbs
+ ```app/components/like-post.hbs
224
<button {{on 'click' this.saveLike}}>Like this post!</button>
225
```
226
0 commit comments