-
-
Notifications
You must be signed in to change notification settings - Fork 497
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
Update link-to, input, and textarea to angle bracket invocation #837
Conversation
locks
commented
Jun 3, 2019
•
edited
Loading
edited
- Normalize "helper" and "component" referrences to component.
- Review prose in "link-to component" guide for new API.
- Update tutorial in a follow up PR to sync with codebase.
Co-Authored-By: Robert Jackson <[email protected]>
Co-Authored-By: Robert Jackson <[email protected]>
Co-Authored-By: Robert Jackson <[email protected]>
Co-Authored-By: Robert Jackson <[email protected]>
Co-Authored-By: Robert Jackson <[email protected]>
Co-Authored-By: Robert Jackson <[email protected]>
Co-Authored-By: Robert Jackson <[email protected]>
I have updated the prose, please review! |
@@ -52,7 +52,7 @@ To dispatch an action on specific events such as `key-press`, use the following | |||
|
|||
```handlebars | |||
<label for="firstname">First Name</label> | |||
{{input id="firstname" value=this.firstName key-press=(action "updateFirstName")}} | |||
<Input @id="firstname" @value={{this.firstName}} @key-press={{action "updateFirstName"}} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@locks we're recommending key-press
here and keypress
in the next section down. Should we land on a standard approach? I don't see that this should block this PR, but might be worth a follow up PR to clean up?
Thanks for your work on this @locks |