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 abbreviation for slot #729

Open
anthonyvdotbe opened this issue Feb 23, 2024 · 3 comments
Open

Add abbreviation for slot #729

anthonyvdotbe opened this issue Feb 23, 2024 · 3 comments

Comments

@anthonyvdotbe
Copy link

slot should be expanded to <slot name=""></slot>, with the caret first inside the name attribute and then inside the element itself.

@sergeche
Copy link
Member

slot[name].

@anthonyvdotbe
Copy link
Author

AFAIK a slot without a name doesn't have a use case, so that's why I'd like to have just slot be sufficient, equivalent to how just a also adds the href attribute and expands to <a href=""></a>

@sergeche
Copy link
Member

<slot> element without name is a default slot that receives any custom element content without slot attribute

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

2 participants