@tempots/dom

BrowserContext.on property

Adds an event listener to the element.

Signature:

readonly on: <E>(event: string, listener: (event: E) => void, options?: HandlerOptions) => Clear;