Module events

Index

Functions

Functions

addListener(visualization: any, eventName: string, callback: Function): any

Parameters

  • visualization: any
  • eventName: string
  • callback: Function

Returns

any

addListener(visualization: any, eventName: string, callback: (...args: any[]) => void): any

Parameters

  • visualization: any
  • eventName: string
  • callback: (...args: any[]) => void

Returns

any

removeAllListeners(visualization: any)

Parameters

  • visualization: any

removeListener(listener: any)

Parameters

  • listener: any

trigger(visualization: any, eventName: string, args?: any)

Parameters

  • visualization: any
  • eventName: string
  • args?: any optional