Skip to content
This repository was archived by the owner on Mar 22, 2019. It is now read-only.

blog(embertimes64): Element Modifier RFCs#3560

Merged
tylerturdenpants merged 4 commits intoemberjs:blog/embertimes-64from
chrisrng:chrisrng-patch-1
Sep 13, 2018
Merged

blog(embertimes64): Element Modifier RFCs#3560
tylerturdenpants merged 4 commits intoemberjs:blog/embertimes-64from
chrisrng:chrisrng-patch-1

Conversation

@chrisrng
Copy link
Contributor

@chrisrng chrisrng commented Sep 13, 2018


Ember Core Team member [@chadhietala](https://github.com/chadhietala) proposed 2 RFCs around Element Modifiers – one for the [Modifier Manager](https://github.com/emberjs/rfcs/pull/373) and the other for the [Element Modifier](https://github.com/emberjs/rfcs/pull/353) itself.

Element Modifiers provide stable access of the DOM node they are installed on similar to the `{{action}}` modifier. Unlike a component, there is no template/layout for an element modifier. Unlike a helper, an element modifier does not return a value. An element modifier is invoked in "element space". This is the space between `<` and `>` opening an HTML tag.
Copy link
Contributor

Choose a reason for hiding this comment

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

Might want to just leave off similar to the {{action}} modifier

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed!

@tylerturdenpants tylerturdenpants merged commit d5f7327 into emberjs:blog/embertimes-64 Sep 13, 2018
@chrisrng chrisrng deleted the chrisrng-patch-1 branch September 19, 2018 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants