OptionalariaOptionalformScaffold a form-associated custom element (static formAssociated = true
ElementInternals wiring) that participates in <form> submission and
validation, instead of the plain starter component.OptionalhydrateScaffold a component that hydrates a prerendered Declarative Shadow DOM
root (adopt-or-render): if banira prerender already produced the shadow
markup, it is adopted without re-rendering (no flash); otherwise the
component renders normally. The constructable stylesheet is adopted either
way. Distinct from formAssociated/aria; pass one.
OptionalstatesScaffold a component that exposes internal state to CSS through custom
states (ElementInternals.states / CustomStateSet), so authors style it
with my-el:state(active) instead of the component leaking state into host
attributes. Includes a setState(name, on) helper and an @cssstate tag
recorded in the manifest's cssStates. A distinct starter; pass one.
Scaffold a custom element that reflects its ARIA role/state through
ElementInternals(the Accessibility Object Model) — acheckbox-role toggle withinternals.role/ariaCheckedwiring and keyboard support, instead of the plain starter component. Distinct fromformAssociated; pass one or the other.