Skip to content

listBookmarkTreeViewEntries

This content is for v1.3.1. Switch to the latest version for up-to-date documentation.

listBookmarkTreeViewEntries(bookmarkTree, directoryPath, maxDepth): readonly BookmarkTreeViewEntry[]

Defined in: domain/bookmarks/bookmark-tree-view.ts:283

指定directory配下のBookmark Treeを標準optionでtree表示用flat listにします。

BookmarkTree

対象のBookmark Treeです。

string

起点directory pathです。

number

表示する最大depthです。

readonly BookmarkTreeViewEntry[]

Tree表示用flat listです。

const result = listBookmarkTreeViewEntries(bookmarkTree, "/Work", 2);

Last updated: