Documentation
    Preparing search index...

    Interface UIFocusEvent

    Payload of the focus and blur events (§72, §75).

    target is typed as a Node rather than a UIWidget deliberately: §72 lists focus and blur as input events on nodes, and a later keyboard or DOM-mirror focus source must be able to emit these same keys for a node that is not a widget. related is the DOM's relatedTarget — the node losing the focus this one gained, or gaining the focus this one lost — and is null when there is none.

    interface UIFocusEvent {
        related: Node | null;
        target: Node;
    }
    Index
    related: Node | null
    target: Node