Skip to content

pencil.js / event-emitter / EventListener

Interface: EventListener ​

Defined in: event-emitter.ts:12

Registered listener

Properties ​

PropertyTypeDescriptionDefined in
callbackEventCallbackFunction called when event is firedevent-emitter.ts:14
elementEventEmitterElement on which to listen for the eventevent-emitter.ts:16
isTargetedbooleanWill call the callback only when the event target is the elementevent-emitter.ts:18
modifier?stringAdditional data about the eventevent-emitter.ts:20

Released under the MIT License.