MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / select

Method select

packages/sdk/src/adapters/types.ts:71–71  ·  view source on GitHub ↗

Set preview selection; fires selectionchange on the session

(ids: string[], opts?: { additive?: boolean })

Source from the content-addressed store, hash-verified

69
70 /** Set preview selection; fires selectionchange on the session */
71 select(ids: string[], opts?: { additive?: boolean }): void;
72
73 // Stage 8 prep: fired when the preview host changes selection (e.g. user clicks an element).
74 // Not wired up in stage 7 — callers listen to the session's own selectionchange event instead.

Callers 10

InlineInputFunction · 0.65
copyWithSelectionFunction · 0.65
runFunction · 0.65
handleVideoFileFunction · 0.65
runFunction · 0.65
onIframeClickFunction · 0.65
onIframeDeselectFunction · 0.65
session.test.tsFile · 0.65
iframe.test.tsFile · 0.65

Implementers 4

PlaygroundPreviewpackages/sdk-playground/src/main.ts
TestPreviewAdapterpackages/sdk/src/session.test.ts
IframePreviewAdapterpackages/sdk/src/adapters/iframe.ts
HeadlessPreviewAdapterpackages/sdk/src/adapters/headless.ts

Calls

no outgoing calls

Tested by

no test coverage detected