MenuBarRenderContext
Defined in: namespaces.ts:1466
Context passed to the menuBarOpen(context) export when a popover opens.
Properties
Section titled “Properties”pluginId
Section titled “pluginId”pluginId:
string
Defined in: namespaces.ts:1468
Plugin ID of the owning plugin.
cache?
Section titled “cache?”
optionalcache?:Pick<CacheAPI,"get"|"set"|"remove">
Defined in: namespaces.ts:1474
Scoped cache API (omitted if plugin lacks cache permission).
Methods
Section titled “Methods”setContent()
Section titled “setContent()”setContent(
descriptor):void
Defined in: namespaces.ts:1470
Updates the popover UI with a ViewDescriptor.
Parameters
Section titled “Parameters”descriptor
Section titled “descriptor”Returns
Section titled “Returns”void
close()
Section titled “close()”close():
void
Defined in: namespaces.ts:1472
Dismisses the popover.
Returns
Section titled “Returns”void