Templates
elements man ui/templatesOne page per template. A page opens with the import and an example, then the template's parts (the tags it exports and the classes it renders), its attributes with types and defaults, its slots, what each key does, and the data attributes its elements carry for styling and tests.
An attribute marked two-way can be bound to state. open={state.editing}
controls a dialog from the page, and the dialog writes false back when it
closes itself; written as a literal, open, the template owns the state.
Every template takes class for extra classes on its root, and a template
with a native element at its root takes attrs for any other attribute on
it: id, name, title, aria-*, data-*.
The pages are grouped by category below. elements man -s <word> searches
them.