Skip to content

Commit

Permalink
Update content/ember/v5/deprecate-template-action.md
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Nys <nyslukas@gmail.com>
  • Loading branch information
NullVoxPopuli and lukasnys committed Apr 17, 2024
1 parent 7146afc commit ea248cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/ember/v5/deprecate-template-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ If `(action)` or `{{action}}` is passed a string, it's _possible_ that the refer

Note that `@action` is completely different from `(action)` or `{{action}}` (and is partly a motivator for deprecating `(action)` and `{{action}}`, to reduce ambiguity).

`@action` is binds the `this` on the method to the instance of the class.
`@action` binds the `this` on the method to the instance of the class.


### Scenario: `action` is passed a function reference
Expand Down

0 comments on commit ea248cc

Please sign in to comment.