使用说明
返回值表示是否找到并销毁了目标。使用自建 Runtime 时,应调用该 Runtime 自己的 destroy(target),避免跨隔离边界操作实例。
Runtime API / Function
通过 id、宿主元素或 Instance 销毁默认 Runtime 中的运行实例。
使用说明
返回值表示是否找到并销毁了目标。使用自建 Runtime 时,应调用该 Runtime 自己的 destroy(target),避免跨隔离边界操作实例。
参数
idOrElementOrInstance | string | Element | FlamoInstance |
|---|