type-alias / @typed/ui/Dom/index

HostProps

Public props accepted by a DOM host for a concrete element type.

Learn this UI primitive →

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

Import

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

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 HostProps<Element extends globalThis.Element> = Omit<ElementOptions<Element>, keyof TemplateAttributeProps> & TemplateAttributeProps & BoundElementProperties<Element>;

Why

HostProps combines native properties, attributes, events, refs, and bound control state in one exact DOM-first contract.

Ownership and lifetime

The host owns only the parts it renders. Existing nodes, unrelated attributes, and external listeners remain untouched.

Other public imports

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

Source