Skip to content

AttachInteractionsOptions

Defined in: packages/core/src/interactions/attach.ts:55

Options for attachInteractions.

PropertyTypeDescriptionDefined in
hostHandlers?InteractionHostHandlersThe host handler map the emit interaction resolves event names against, closed-world. Absent means every emit resolves to a denial.packages/core/src/interactions/attach.ts:66
policy?CapabilityPolicyThe capability policy in force. Gates the popup !html marker and the emit host hook. Defaults to DEFAULT_POLICY (untrusted) — an absent policy escapes !html and denies hooks rather than opening them.packages/core/src/interactions/attach.ts:72
registry?InteractionRegistryThe interaction registry resolving names to built-ins. Defaults to a fresh createInteractionRegistry — each attach gets its own, mirroring the renderer’s non-singleton posture.packages/core/src/interactions/attach.ts:61