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

“Content Distribution with Slots” Confusing examples used #2804

Open
hm20062006ok opened this issue Apr 14, 2021 · 0 comments
Open

“Content Distribution with Slots” Confusing examples used #2804

hm20062006ok opened this issue Apr 14, 2021 · 0 comments

Comments

@hm20062006ok
Copy link

Components Basics > Content Distribution with Slots

Just like with HTML elements, it’s often useful to be able to pass content to a component, like this:

<alert-box>
Something bad happened.
</alert-box>

Which might render something like:
Error! Something bad happened.

"Something bad happened" should be rendered after adding "slot"

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