跳转到主要内容

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.

PluginManager 是插件运行的管理入口,负责:
  • 初始化插件环境
  • 监听插件生命周期
  • 注册/监听插件按钮与配置按钮
  • 注册/监听插件事件
  • 获取插件基础信息(名称、目录、设备类型等)
import { PluginManager } from 'sn-plugin-lib';

方法