You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will define an empty default slot (the '⏎' in </div>⏎<div slot="slotB">) and "Default value" won't be displayed.
In order to use the default of the slot, we need to make sure there is no space between the named slots this way:
Is your feature request related to a problem? Please describe.
When a component has a default slot and named slots, the textual line-break between named slots will be considered as the default slot.
Example:
MyComponent
:Usage:
This will define an empty default slot (the '⏎' in
</div>⏎<div slot="slotB">
) and "Default value" won't be displayed.In order to use the default of the slot, we need to make sure there is no space between the named slots this way:
Describe the solution you'd like
When the default slot value contains only spaces-like, the default should be used as if it was empty
How important is this feature to you?
annoyance-level + I had to search for some time why my slot didn't display
The text was updated successfully, but these errors were encountered: