Class Evented

This mixin allows for Ember objects to subscribe to and emit events. You can also chain multiple event subscriptions.

Hierarchy

Index

Methods

Methods

public has(name: string): boolean

Parameters

  • name: string

Returns

boolean

public off(name: string, target: any, method: Function): Evented

Parameters

  • name: string
  • target: any
  • method: Function

Returns

Evented

public on(name: string, target: any, method: Function): Evented

Parameters

  • name: string
  • target: any
  • method: Function

Returns

Evented

public one(name: string, target: any, method: Function): Evented

Parameters

  • name: string
  • target: any
  • method: Function

Returns

Evented

public trigger(name: string, string?: Array<any>)

Parameters

  • name: string
  • string?: Array<any> optional