跳转到主要内容
static recycleElement(uuid: string): void;
参数
参数类型说明
uuidstringElement 的唯一标志(见 Element.uuid

示例

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

/**
 * 回收 Element 的示例。
 */
export async function exampleRecycleElement(uuid: string) {
  PluginCommAPI.recycleElement(uuid);
}