instance.detachInstance() turns an instance into a frame that keeps its content, as in Figma, from scripts run through eval. It reuses the graph's shared detach implementation, asserts editability like the proxy's other mutations, and joins the instance surface check against @figma/plugin-typings. |
||
|---|---|---|
| .. | ||
| library-capabilities.test.ts | ||
| properties.test.ts | ||
| sync-layout-scope.test.ts | ||
| variants.test.ts | ||