import { HostEvent, ContextType } from '@thoughtspot/visual-embed-sdk';
// Trigger an event with specific context
embed.trigger(HostEvent.Pin, { vizId: "123", liveboardId: "456" }, ContextType.Search);
ContextType
Context types for specifying the page context when triggering host events.
Used as the third parameter in the trigger method to help ThoughtSpot
understand the current page context for better event handling.
Version : SDK: 1.45.2 | ThoughtSpot: 26.3.0.cl