custom-elements-manifest
custom-elements-manifest copied to clipboard
Is WebComponent a Container for other Elements (low prio)
We should also have a configuration to tell if a WebComponent is a container for other elements (maybe a array of querySelectors wich define possible elements)
This is needed for a good designer experience, so I know if I could drag other components into
How is this different from slots?
Not every custom element uses slots
Then im not sure what you mean. Can you provide some more information/context and some code examples, and a proposal of what you'd like to happen in the schema?
Okay, maybe we also could use the the empty slot. But then the empty slot is mandatory, means if it is not there the element is not allowed to have children
or we do something like this uses #46
{
name: "",
allowedChildren: [":not(*)"]
}