Interface ScrollIntoViewOptions

Possible values for WunderbaumNode.scrollIntoView options argument.

interface ScrollIntoViewOptions {
    noAnimation?: boolean;
    noEvents?: boolean;
    ofsY?: number;
    topNode?: WunderbaumNode;
}

Hierarchy (view full)

Properties

noAnimation?: boolean

Do not animate (currently not implemented).

Default

false
noEvents?: boolean

Do not send events.

Default

false
ofsY?: number

Add N pixel offset at top.

topNode?: WunderbaumNode

Keep this node visible at the top in any case.