Interface EventTarget

Hierarchy

Index

Methods

Methods

public attach(type: string, listener: Function)

Parameters

  • type: string
  • listener: Function

public detach(type: string, listener: Function)

Parameters

  • type: string
  • listener: Function

public fire(event: Object)

Parameters

  • event: Object

public fire(event: string)

Parameters

  • event: string

public subscribe(type: string, listener: Function)

Parameters

  • type: string
  • listener: Function

public unsubscribe(type: string, listener: Function)

Parameters

  • type: string
  • listener: Function