Module / v1.0.0-beta.13

@typed/ui/Dom/Events

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

Learn this UI primitive →

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

Event composition

  • chainEvent

    function

    Combines a user handler with component-required behavior for one native event.

Event inspection

  • currentTarget

    function

    Reads a native event’s non-null current target during handler execution.

  • isEventKey

    function

    Tests whether a prop name uses Typed’s native event conventions.

  • toggleState

    function

    Reads the standards-based ToggleEvent.newState value when present.