Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation guide for (action) / {{action}} #1377

Merged
merged 7 commits into from
May 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update content/ember/v5/deprecate-template-action.md
Co-authored-by: Lukas Nys <nyslukas@gmail.com>
  • Loading branch information
NullVoxPopuli and lukasnys committed Apr 17, 2024
commit ea248cc17c846a470da7ecc3328a6687fc37f3a9
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
Loading