listBookmarkTreeViewEntries
This content is for v1.3.1. Switch to the latest version for up-to-date documentation.
listBookmarkTreeViewEntries(
bookmarkTree,directoryPath,maxDepth): readonlyBookmarkTreeViewEntry[]
Defined in: domain/bookmarks/bookmark-tree-view.ts:283
指定directory配下のBookmark Treeを標準optionでtree表示用flat listにします。
Parameters
Section titled “Parameters”bookmarkTree
Section titled “bookmarkTree”対象のBookmark Treeです。
directoryPath
Section titled “directoryPath”string
起点directory pathです。
maxDepth
Section titled “maxDepth”number
表示する最大depthです。
Returns
Section titled “Returns”readonly BookmarkTreeViewEntry[]
Tree表示用flat listです。
Example
Section titled “Example”const result = listBookmarkTreeViewEntries(bookmarkTree, "/Work", 2);