WebsiteLive demosGuidesSource
  • Preparing search index...
  • The search index is not available
OpenAlgo Charts API - v2.3.2
  • OpenAlgo Charts API
  • widget
  • attachContextMenu

Function attachContextMenu

  • attachContextMenu(ctx: WidgetContext, hooks?: ContextMenuHooks): () => void
  • Wire the chart's contextmenu event to the menu. Returns the unsubscriber. The browser's own menu is suppressed only once ours is up, so a host that detaches this gets the native one back.

    Parameters

    • ctx: WidgetContext
    • hooks: ContextMenuHooks = {}

    Returns () => void

    • Defined in src/widget/dialogs/context-menu.ts:382

Settings

Member Visibility
WebsiteLive demosGuidesSource
OpenAlgo Charts API - v2.3.2
  • Loading...

Generated using TypeDoc

Build your next market experience.Explore live demos →API definitions generated from the current source with every website deployment.