Promise<boolean>: whether the UI was closed successfully
PluginManager
closePluginView
Close the plugin UI.
This API closes the currently shown plugin UI.
Returns
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Close the plugin UI.
closePluginView(): Promise<boolean>;
Promise<boolean>: whether the UI was closed successfullyimport { PluginManager } from 'sn-plugin-lib';
/**
* Example: close the plugin UI.
*/
export async function exampleClosePluginView() {
const ok = await PluginManager.closePluginView();
return ok;
}