Module / v1.0.0-beta.13

@typed/ui/Dom/Types

33 unique exports available through this public import path, including their members and aliases.

Learn this UI primitive →

import * as Types from "@typed/ui/Dom/Types";

Element ref types

  • ElementRef

    type-alias

    Optional ref contract shared by DOM-backed component options.

  • ElementRefCallback

    type-alias

    Callback invoked with the exact mounted DOM element.

Event input types

Host input types

  • BoundElementProperties

    type-alias

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

  • EffectInput

    type-alias

    An Effect accepted at a DOM host boundary while preserving error and service inference.

  • ElementByTagName

    type-alias

    Native HTML, SVG, and MathML element type lookup by tag name.

  • ElementOptions

    type-alias

    Complete event, ref, and writable-property options for an element.

  • ElementProperties

    type-alias

    Reactive writable properties for a DOM element, excluding events and refs.

  • FxInput

    type-alias

    An Fx accepted at a DOM host boundary while preserving error and service inference.

  • HostOptions

    interface

    Shared options for a component with an overridable DOM host.

  • HostOptionsForTag

    interface

    Host options specialized to one native tag.

  • HostProps

    type-alias

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

  • HostPropsByTagName

    type-alias

    Complete host props indexed by native tag name.

  • HostPropsForTag

    type-alias

    Host props for one native tag.

  • OptionsByTagName

    type-alias

    Element options indexed by native tag name.

  • OptionsForTag

    type-alias

    Element options for one native tag.

  • RenderableInput

    type-alias

    Any value accepted by Typed’s renderable conversion protocol.

  • TemplateAttributeProps

    type-alias

    Web-standard attributes and Typed template prefixes accepted by every host.

Host rendering types

  • HostComponent

    type-alias

    Standard Fx result of a DOM-backed component.

  • HostOverride

    type-alias

    Component-local replacement for its default host element.

  • HostRenderer

    type-alias

    Function signature for rendering an arbitrary DOM host.

  • HostRendererForTag

    type-alias

    Renderer signature specialized to a native tag name.

  • HostResult

    type-alias

    Output that a host override may return.

Internal prop defaults

Property type utilities

  • IfEquals

    type-alias

    Produces Output only when two types are mutually assignable.

  • NonNullish

    type-alias

    Removes nullish values from a type.

  • Nullish

    type-alias

    JavaScript’s two absent-value types.

  • Property

    type-alias

    Safely selects a property type, yielding undefined for non-objects or absent keys.

  • WritableKeys

    type-alias

    Selects writable keys from a structural type.