Skip to content

node-zendesk / Exports / clients/custom-event-target / CustomEventTarget

Class: CustomEventTarget

clients/custom-event-target.CustomEventTarget

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new CustomEventTarget(): CustomEventTarget

Returns

CustomEventTarget

Properties

listeners

listeners: Map<any, any>

Defined in

clients/custom-event-target.d.ts:2

Methods

addEventListener

addEventListener(type, callback): void

Parameters

NameType
typeany
callbackany

Returns

void

Defined in

clients/custom-event-target.d.ts:3


dispatchEvent

dispatchEvent(event): void

Parameters

NameType
eventany

Returns

void

Defined in

clients/custom-event-target.d.ts:5


removeEventListener

removeEventListener(type, callback): void

Parameters

NameType
typeany
callbackany

Returns

void

Defined in

clients/custom-event-target.d.ts:4

Released under the MIT License.