scrollTo

[ Function ]

public scrollTo(): void;

Scroll to an element using the hierarchical index.

Parameter

Name

Type

Description

index

number[]

The hierarchical index of the element to be scrolled.

expandParents

boolean

Fixes whether the higher-level elements of the selected element are also expanded.

Return value

Type

Description

void

No return value

scrollTo 1:

Available since version 1.12.760