InteractionDeps
Defined in: packages/core/src/interactions/types.ts:110
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
hidePopup? | () => void | Dismiss the current HOVER popup, if one is showing. A pinned popup is never touched — its dismissal belongs to the user (close button / closeOnClick), not to mouseleave. | packages/core/src/interactions/types.ts:127 |
hostHandlers? | InteractionHostHandlers | The host handler map the emit interaction resolves event names against. Remarks Optional: an interaction that never emits (popup, flyTo, highlight) ignores it, and an emit with no map supplied resolves every name to a denial — closed-world default-deny. The wiring that populates this from an attachInteractions call lands in U5; the built-in’s use of it lands here. | packages/core/src/interactions/types.ts:137 |
policy? | CapabilityPolicy | The capability policy in force, gating the host-hook seam. Remarks Optional so existing deps stubs stay valid; the emit built-in falls back to DEFAULT_POLICY (untrusted) when it is absent, so a missing policy denies the hook rather than opening it. | packages/core/src/interactions/types.ts:146 |
showPopup | (content, feature, lngLat, options?) => boolean | void | Show a popup. Returns false when the slot contract suppressed it (a hover popup while a pinned one is open) — a void return counts as shown, so legacy three-argument implementations keep working unchanged. | packages/core/src/interactions/types.ts:116 |