Static 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.
Lit Custom Element rendering a boolean-valued schema field.
Tag:
<sc-boolean>(registered byregisterSchemaComponents).