Interface SetSelectedOptions

Possible values for WunderbaumNode.setSelected options argument.

interface SetSelectedOptions {
    callback?: NodeSelectCallback;
    force?: boolean;
    noEvents?: boolean;
    propagateDown?: boolean;
}

Properties

Called for every node. May return false to prevent action.

Default

null
force?: boolean

Ignore restrictions, e.g. (unselectable).

Default

false
noEvents?: boolean

Do not send beforeSelect or select events.

Default

false
propagateDown?: boolean

Apply to all descendant nodes (only for selectMode: 'multi').

Default

false