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