AbstractStatic ReadonlypropertiesProperty declarations shared by every built-in Custom Element.
Subclasses spread this in:
static override properties = {
...BaseScElement.properties,
...
};
Every shared property uses attribute: false — none of the
payloads (tree, value, meta, constraints) round-trip
safely through HTML attribute strings.
OptionalexamplesProtectedemitDispatch the canonical sc-change event. Renderers call this
inside DOM event handlers (@input, @change, @click on
add/remove controls) — the orchestrating ancestor catches the
event, propagates the structural update to the root value, and
re-emits a top-level change event on its own host.
Base class for the built-in
<sc-*>Custom Elements.Subclasses declare:
static propertiestable extendingBaseScElement.properties.render()method returning the per-typeTemplateResult.The class deliberately does not implement
render()itself — aLitElementwithoutrender()is still constructible, but its default behaviour is to render nothing. Subclasses are required to override.