Element ref types
ElementReftype-alias · Re-export
Optional ref contract shared by DOM-backed component options.
ElementRefCallbacktype-alias · Re-export
Callback invoked with the exact mounted DOM element.
Event composition
chainEventfunction · Re-export
Combines a user handler with component-required behavior for one native event.
Event input types
ElementEventHandlerstype-alias · Re-export
Native
on*handlers supported by a concrete DOM element.EventHandlerInputtype-alias · Re-export
Effect or
EventHandleraccepted for one real DOM event.EventHandlerPropertytype-alias · Re-export
A property name recognized as a native DOM event handler.
EventOftype-alias · Re-export
Extracts the native Event parameter from an event-handler input.
TemplateEventHandlerstype-alias · Re-export
Template
@eventhandlers for real DOM events.
Event inspection
currentTargetfunction · Re-export
Reads a native event’s non-null current target during handler execution.
toggleStatefunction · Re-export
Reads the standards-based
ToggleEvent.newStatevalue when present.
Host input types
BoundElementPropertiestype-alias · Re-export
Dot-prefixed live form-control properties supported by an element.
ElementByTagNametype-alias · Re-export
Native HTML, SVG, and MathML element type lookup by tag name.
ElementOptionstype-alias · Re-export
Complete event, ref, and writable-property options for an element.
ElementPropertiestype-alias · Re-export
Reactive writable properties for a DOM element, excluding events and refs.
HostOptionsinterface · Re-export
Shared options for a component with an overridable DOM host.
HostOptionsForTaginterface · Re-export
Host options specialized to one native tag.
HostPropstype-alias · Re-export
Public props accepted by a DOM host for a concrete element type.
HostPropsByTagNametype-alias · Re-export
Complete host props indexed by native tag name.
HostPropsForTagtype-alias · Re-export
Host props for one native tag.
OptionsByTagNametype-alias · Re-export
Element options indexed by native tag name.
OptionsForTagtype-alias · Re-export
Element options for one native tag.
TemplateAttributePropstype-alias · Re-export
Web-standard attributes and Typed template prefixes accepted by every host.
Host rendering
renderDivHostfunction · Re-export
Renders a native
divhost from supplied props and content.renderHostfunction · Re-export
Creates the host-rendering boundary for a particular DOM element type.
Host rendering types
HostOverridetype-alias · Re-export
Component-local replacement for its default host element.
HostRenderertype-alias · Re-export
Function signature for rendering an arbitrary DOM host.
HostRendererForTagtype-alias · Re-export
Renderer signature specialized to a native tag name.
Internal prop defaults
InternalPropsHelpersinterface · Re-export
Helpers available while constructing component-owned host props.
Prop composition
MergedHostPropstype-alias · Re-export
Type-level result of merging user and component-owned host props.
RenderHostPropstype-alias · Re-export
Final props delivered to a default or custom host renderer.
mergePropsfunction · Re-export
Merges user host props with component-required internal props.
Property type utilities
IfEqualstype-alias · Re-export
Produces
Outputonly when two types are mutually assignable.NonNullishtype-alias · Re-export
Removes nullish values from a type.
Nullishtype-alias · Re-export
JavaScript’s two absent-value types.
Propertytype-alias · Re-export
Safely selects a property type, yielding
undefinedfor non-objects or absent keys.WritableKeystype-alias · Re-export
Selects writable keys from a structural type.
Ref composition
composeRefsfunction · Re-export
Composes two element refs in order.