-
Notifications
You must be signed in to change notification settings - Fork 421
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
Implement content select attribute #500
Comments
@mihael has worked a bit on this. Sent from my iPhone
|
So...2.1 milestone? Sent from my iPhone
|
+1 that would be nice |
Is it going to be in 2.1? |
This feature is really needed. |
@whitecolor would you like to help make this happen? @matthewp has been working on it. |
If this gets bumped to 2.1.4 I'm willing to participate. ;) This feature is also high on my wishlist. And I have it rather sooner than later. |
As it would be a new feature, it has to be 2.2 at a minimum. Sent from my iPhone
|
Ofcourse, semver. ;) I'll see if I can make some headway this week on this feature. I don't see any active relevant branches by @matthewp regarding this matter? Is there anything I can branch off, or should I start from scratch? |
@gsmeets I've been working on it in a separate project. If you'd like to help out that would definitely be appreciated. Do you have skype or anything so we can discuss? Email me [email protected] |
Just intresting, any new on this? |
I haven't had the time to look into it after matthewp pointed me to his branch. I've changed a few things around on my end to where I don't need this feature for now. |
I think it's no easy task to take on and complete for some one who is not in the loop. @matthewp is our oly chance. |
I think I'm probably the last person who was working on this. I ran into a roadblock with the method I was using to trigger an update (MutationObservers) was too slow in older browsers. The way forward is either to A) Make this method fast; see shadow or B) Start from scratch with a new method. We could also punt on the feature and instead make it work with native shadow DOM or the shadow DOM polyfill. |
What is wrong with this approach? |
Is it going to be in 2.3 or anytime soon? |
No, not in 2.3 at least. |
Closing for #2278 which will be far easier to implement. |
VOTE HERE
http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom/#toc-projection
Currently in can.Component, it seems that you can only use one tag in the component template, it seems like where components is going is to not only allow more than one content tag, but to specify what the content element projects. This is done via a select property on the content node.
Currently:
DOM:
"hello" Template:
Rendered:
Proposal:
DOM:
"hello" Template:
Rendered:
VOTE FOR THIS HERE: http://bithub.com/event/25882
The text was updated successfully, but these errors were encountered: