core.eventtarget_2.addeventlistener
Home > @medplum/core > EventTarget_2 > addEventListener
EventTarget_2.addEventListener() method
Signature:
addEventListener(type: string, callback: EventListener): void;
Parameters
Parameter | Type | Description |
---|---|---|
type | string | |
callback | EventListener |
Returns:
void