static recycleElement(uuid: string): void;
| 参数 | 类型 | 说明 |
|---|---|---|
uuid | string | Element 的唯一标志(见 Element.uuid) |
示例
import { PluginCommAPI } from 'sn-plugin-lib';
/**
* 回收 Element 的示例。
*/
export async function exampleRecycleElement(uuid: string) {
PluginCommAPI.recycleElement(uuid);
}