Interface WbEventInfo

Additional information derived from mouse or keyboard events.

interface WbEventInfo {
    canonicalName: string;
    colDef?: ColumnDefinition;
    colElem?: HTMLSpanElement;
    colId?: string;
    colIdx: number;
    event: MouseEvent | KeyboardEvent;
    node: null | WunderbaumNode;
    region: NodeRegion;
    tree: Wunderbaum;
}

Properties

canonicalName: string

Canonical descriptive string of the event type including modifiers, e.g. Ctrl+Down.

The definition of the affected column if any.

colElem?: HTMLSpanElement

The affected column's span tag if any.

colId?: string

The column definition ID of affected column if any.

colIdx: number

The index of affected column or -1.

event: MouseEvent | KeyboardEvent

The original HTTP Event.

node: null | WunderbaumNode

The affected node instance instance if any.

region: NodeRegion

The affected part of the node span (e.g. title, expander, ...).

The tree instance.