Skip to main content

EventEmitter

Hierarchy

Table of contents

Constructors

Methods

Constructors

constructor

new EventEmitter()

Methods

off

off(event, handler): any

Parameters

NameType
eventstring
handlerany

Returns

any


on

on(event, handler): any

Parameters

NameType
eventstring
handlerany

Returns

any