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

Add section on RFC 471 {{on}} modifier #24

Merged
merged 1 commit into from
Mar 22, 2019

Conversation

Alonski
Copy link
Member

@Alonski Alonski commented Mar 22, 2019

What it does

Related Issue(s)

Sources

@Alonski Alonski requested a review from a team March 22, 2019 08:41
Copy link
Contributor

@jayjayjpg jayjayjpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reads great, thank you for another ✨ writeup this week!

@jayjayjpg jayjayjpg merged commit ab548cf into blog/embertimes-90 Mar 22, 2019
@Alonski Alonski deleted the Alonski-patch-1 branch March 22, 2019 14:48

A new RFC has been proposed by [@pzuraq](https://github.com/pzuraq) that proposes adding a new `{{on}}` modifier to Ember. This modifier will allow adding event listeners to elements in your templates.

You might be thinking, *"Hey Ember Times Writer, we already have those! We have the `{{action}}` element modifier and `on*=` property bindings."* However those have a [few downsides](https://github.com/emberjs/rfcs/blob/27ee4012b0bbf63d4d304e6942b91ce37107bd91/text/0000-on-modifier.md#motivation) that are fixed with the `{{on}}` modifier.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this! 👏

@amyrlam amyrlam added the embertimes PR for an Ember Times issue label Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
embertimes PR for an Ember Times issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants