reveal

abstract fun reveal(element: T, options: TreeView.RevealOptions = definedExternally): PromiseLike<Void?>(source)

Reveals the given element in the tree view. If the tree view is not visible then the tree view is shown and element is revealed.

By default revealed element is selected. In order to not to select, set the option select to false. In order to focus, set the option focus to true. In order to expand the revealed element, set the option expand to true. To expand recursively set expand to the number of levels to expand.

Online Documentation