Import
import { Dom } from "@typed/ui";Access Dom.ElementProperties 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 ElementProperties<Element extends globalThis.Element> = {
readonly [K in WritableKeys<Element> as K extends string ? K extends `on${string}` | "ref" ? never : K : never]?: RenderableInput<Element[K] | null | undefined>;
};Why
Property assignment preserves native element behavior for values that are not accurately represented as string attributes.
Ownership and lifetime
Reactive values are subscribed within the rendered part’s Scope; the exact element remains browser-owned DOM rather than a virtual-node copy.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.