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

Explicitly document that multiple children can be assigned to the same slot #3671

Closed
OlliTietavainenVaadin opened this issue Mar 8, 2018 · 2 comments
Assignees
Milestone

Comments

@OlliTietavainenVaadin
Copy link
Member

When writing/modifying a template I want to read documentation of how I can insert an arbitrary number of serverside Components / Elements into it. I can't use named Slots because I don't know how many components there are.

@Legioth
Copy link
Member

Legioth commented Mar 9, 2018

Could you elaborate what it is that you're trying to achieve. Do you want to put each child into a distinct location inside the template? Are you aware that you can put many components into the same slot?

@OlliTietavainenVaadin
Copy link
Member Author

I am aware of it now that I've discussed it with people, but I would like to have this information in the documentation somewhere, maybe https://vaadin.com/docs/v10/flow/polymer-templates/tutorial-template-components-in-slot.html

@Legioth Legioth changed the title Documentation for using an arbitrary number of serverside components in a Template Explicitly document that multiple children can be assigned to the same slot Mar 9, 2018
@caalador caalador self-assigned this Mar 15, 2018
@caalador caalador added this to the 1.0.0.beta4 milestone Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants