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

Support slots in web components #3

Closed
terrablue opened this issue Apr 24, 2022 · 1 comment
Closed

Support slots in web components #3

terrablue opened this issue Apr 24, 2022 · 1 comment

Comments

@terrablue
Copy link
Contributor

terrablue commented Apr 24, 2022

SSR web components should support slots.

Parent component:

<child-component attribute="${value"}>
  <div>Some content</div>   
</child-component>

Child component:

<h1>Child component</h1>
<slot />
<div>More content</div>
@terrablue terrablue changed the title support slots in HTML components Support slots in HTML components Apr 24, 2022
@terrablue terrablue changed the title Support slots in HTML components Support slots in web components Apr 29, 2022
@terrablue
Copy link
Contributor Author

terrablue commented May 20, 2022

done as of 8c2f45a, currently supports only unnamed slots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant