Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.supernote.com/llms.txt

Use this file to discover all available pages before exploring further.

This API closes the currently shown plugin UI.
closePluginView(): Promise<boolean>;
Returns
  • Promise<boolean>: whether the UI was closed successfully

Example

import { PluginManager } from 'sn-plugin-lib';

/**
 * Example: close the plugin UI.
 */
export async function exampleClosePluginView() {
 const ok = await PluginManager.closePluginView();
 return ok;
}