跳到主要内容

ui/build/file-tree/selection-target

ui/build/file-tree/selection-target

Functions

findVisibleFileTreeIndicatorTarget()

function findVisibleFileTreeIndicatorTarget(root): HTMLElement | null;

Defined in: apps/website/.api-docs-entry/ui/build/file-tree/selection-target.d.ts:2

Anchor on the nearest visible row when the selected file sits in a collapsed folder.

Parameters

Parameter Type
root HTMLElement

Returns

HTMLElement | null