phovea_clue
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EventHandler
    • CLUEWrapper

Implements

  • IEventHandler

Index

Constructors

constructor

Properties

$main

$main: Selection<any>

$mainRef

$mainRef: IObjectRef<Selection<any>>

clueManager

clueManager: CLUEGraphManager

graph

graph: Promise

header

header: AppHeader

MULTI_EVENT_SEPARATOR

MULTI_EVENT_SEPARATOR: "," = ","

Methods

fire

  • fire(events: string, ...args: any[]): this
  • fires an event

    Parameters

    • events: string

      name(s) of the event

    • Rest ...args: any[]

      additional arguments

    Returns this

jumpToState

  • jumpToState(state: number): any

jumpToStored

  • jumpToStored(): any

jumpToStoredOrLastState

  • jumpToStoredOrLastState(): any

jumpToStory

  • jumpToStory(story: number): any

list

  • list(): object
  • list for each registered event the number of listeners

    Returns object

    • [key: string]: number

nextSlide

  • nextSlide(): any

off

  • off(events: string | object, handler?: IEventListener): this
  • unregister a global event handler

    Parameters

    • events: string | object
    • Optional handler: IEventListener

    Returns this

on

  • on(events: string | object, handler?: IEventListener): this
  • register a global event handler

    Parameters

    • events: string | object

      either one event string (multiple are supported using , as separator) or a map of event handlers

    • Optional handler: IEventListener

      the handler in case of a given string

    Returns this

previousSlide

  • previousSlide(): any

propagate

  • propagate(progatee: IEventHandler, ...events: string[]): void
  • registers on the given event handler and propagates the given events to itself

    Parameters

    • progatee: IEventHandler
    • Rest ...events: string[]

    Returns void

reset

  • reset(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc