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 support for slot->content transformation. #3974

Merged
merged 9 commits into from
Sep 22, 2016
Merged

Add support for slot->content transformation. #3974

merged 9 commits into from
Sep 22, 2016

Conversation

kevinpschaaf
Copy link
Member

This PR is (a start) to enable writing 1.0 compatible elements that also target the 2.x compatibility layer. Specifically, it transforms <slot name="foo"> to <content select="[slot=foo]">, enabling users to write to slot and fallback to content in 1.0.

Need to bikeshed opt-in attribute (currently "auto-content")

Need to bikeshed opt-in attribute (currently "auto-content")
@sorvell
Copy link
Contributor

sorvell commented Sep 22, 2016

LGTM

@sorvell sorvell merged commit 18d0af6 into master Sep 22, 2016
@sorvell sorvell deleted the slot-support branch September 22, 2016 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants