AttachInteractionsOptions
Defined in: packages/core/src/interactions/attach.ts:55
Options for attachInteractions.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
hostHandlers? | InteractionHostHandlers | The 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? | CapabilityPolicy | The 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? | InteractionRegistry | The 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 |