AssetBrowserHandle
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:108
Imperative handle exposed via ref.
Properties
Section titled “Properties”beginRename
Section titled “beginRename”beginRename: (
id) =>void
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:120
Put the item into inline-rename mode (scrolls it into view + focuses the
field). No-op when onItemRename isn’t set. Use after inserting a new
folder/file to immediately let the user name it.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
clearSelection
Section titled “clearSelection”clearSelection: () =>
void
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:112
Returns
Section titled “Returns”void
focus: () =>
void
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:109
Returns
Section titled “Returns”void
getElement
Section titled “getElement”getElement: () =>
HTMLDivElement|null
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:110
Returns
Section titled “Returns”HTMLDivElement | null
getSelectedItems
Section titled “getSelectedItems”getSelectedItems: () =>
AssetItem[]
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:114
Returns
Section titled “Returns”scrollToItem
Section titled “scrollToItem”scrollToItem: (
id) =>void
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:113
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
selectAll
Section titled “selectAll”selectAll: () =>
void
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:111
Returns
Section titled “Returns”void