Interface WbModifyChildEventType

interface WbModifyChildEventType {
    child: WunderbaumNode;
    event?: Event;
    node: WunderbaumNode;
    operation: string;
    tree: Wunderbaum;
    type: string;
    typeInfo: NodeTypeDefinition;
    util: any;
}

Hierarchy (view full)

Properties

event?: Event

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

The affected target node.

operation: string

Type of change: 'add', 'remove', 'rename', 'move', 'data', ...

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).