histoire
Version:
A fast story book powered by Vite
15 lines • 786 B
TypeScript
/**
* Emits the frame actor registry: one slot per mounted variant renderer
* (`PreviewFrameActor`), holding its current actor generation.
*
* An actor is one rendered mount as frame plugins see it, identified by a
* fresh `actorId`. It starts `pending`, attaches once when the app reports real
* readiness (`markVariantReady`), and detaches on selection change, HMR story
* change, page hide or renderer unmount. A detached slot that stays mounted
* gets a new pending actor, so a later attach never reuses a retired id.
*
* Exposes `createFrameActorSlot`, `disposeFrameActorSlot`, `attachFrameActors`,
* `detachFrameActors` and `handleFrameStoryChanged` to later sections.
*/
export declare function previewFrameActors(): string;
//# sourceMappingURL=frame-actors.d.ts.map