Interface WbChangeEventType

interface WbChangeEventType {
    event?: Event;
    info: WbEventInfo;
    inputElem: HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
    inputValid: boolean;
    inputValue: any;
    node: WunderbaumNode;
    tree: Wunderbaum;
    type: string;
    typeInfo: NodeTypeDefinition;
    util: any;
}

Hierarchy (view full)

Properties

event?: Event

Originating HTML event if any (e.g. click).

Additional information derived from the original change event.

inputElem: HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement

The embedded element that fired the change event.

inputValid: boolean

Result of inputElem.checkValidity().

inputValue: any

The new value of the embedded element, depending on the input element type.

The affected target node.

The affected tree instance.

type: string

Name of the event.

Contains the node's type information, i.e. tree.types[node.type] if defined. Set to {} otherwise.

util: any

Exposed utility module methods (see API docs).