Skip to content

listBookmarkTreeViewEntriesWithOptions

listBookmarkTreeViewEntriesWithOptions(input): readonly BookmarkTreeViewEntry[]

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

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

ListBookmarkTreeViewEntriesInput

Bookmark Tree表示入力です。

readonly BookmarkTreeViewEntry[]

Tree表示用flat listです。

const result = listBookmarkTreeViewEntriesWithOptions({
bookmarkTree,
directoryPath: "/Work",
maxDepth: 2,
options: { directoriesOnly: false },
});

Last updated: