EventEmitter

Use in components with the @Output directive to emit custom events synchronously or asynchronously, and register handlers for those events by subscribing to an instance.

class EventEmitter<T> extends Subject {
  constructor(isAsync: boolean = false)
  emit(value?: T)
  subscribe(generatorOrNext?: any, error?: any, complete?: any): Subscription
}

Related concepts

EventEmitter

EventEmitter — Structure map

Clickable & Draggable!

EventEmitter — Related pages: