type-alias / @typed/ui/index

Dom.BoundElementProperties

Dot-prefixed live form-control properties supported by an element.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Host input types
Since
1.0.0
Member of
Dom

Import

import { Dom } from "@typed/ui/index";

Access Dom.BoundElementProperties through the imported Dom export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

export type BoundElementProperties<Element extends globalThis.Element> = {
    readonly [K in Extract<keyof Element, BoundElementProperty> as `.${K}`]?: RenderableInput<Element[K] | null | undefined>;
};

Why

Values such as checked and selectedIndex are live DOM state; binding the property avoids lossy attribute reflection.

Ownership and lifetime

The binding is active only for the rendered part’s Scope and does not replace the element or synthesize browser state.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source