puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.emit.md
2022-10-06 12:22:55 +02:00

542 B

sidebar_label
CommonEventEmitter.emit

CommonEventEmitter.emit() method

Signature:

interface CommonEventEmitter {
  emit(event: EventType, eventData?: unknown): boolean;
}

Parameters

Parameter Type Description
event EventType
eventData unknown (Optional)

Returns:

boolean