Documentation
    Preparing search index...

    Type Alias WidgetActivationSource

    WidgetActivationSource: "pointer" | "keyboard" | "programmatic"

    What caused a WidgetActivateEvent.

    "keyboard" joined the union on 2026-08-07 (A-13) when §75's key-driven activation landed: an Enter or a Space on a focused control is neither a pointer nor a programmatic call, and collapsing it into either would make the one field that exists to tell activations apart unable to tell the two apart that §75 most cares about. Adding a member is additive — an existing listener that switches on "pointer" keeps working, and one that assumed the union was closed was already wrong about pointercancel's precedent.