> ## 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.

# showPluginView

> 显示插件界面。

调用该接口会显示当前插件的界面。

```ts theme={null}
showPluginView(): Promise<boolean>;
```

**返回**

* `Promise<boolean>`：是否成功显示

## 示例

```ts wrap theme={null}
import { PluginManager } from 'sn-plugin-lib';

/**
 * 显示插件界面的示例。
 */
export async function exampleShowPluginView() {
  const ok = await PluginManager.showPluginView();
  return ok;
}
```
