Interface IObservable

Hierarchy

Index

Methods

Methods

public fire(eventName: string, options: any): any

Parameters

  • eventName: string
  • options: any

Returns

any

public observe(eventCollection: IEventList): any

Parameters

Returns

any

public observe(eventName: string, handler: (e: any) => any): any

Parameters

  • eventName: string
  • handler: (e: any) => any

Returns

any

public off(eventName: any, handler: any): any

Parameters

  • eventName: any
  • handler: any

Returns

any

public on(eventCollection: IEventList): any

Parameters

Returns

any

public on(eventName: string, handler: (e: any) => any): any

Parameters

  • eventName: string
  • handler: (e: any) => any

Returns

any

public stopObserving(eventName: string, handler: (e: any) => any): any

Parameters

  • eventName: string
  • handler: (e: any) => any

Returns

any