evt
evt(
element,type,cb,capture?):void
Defined in: core/dom/events.ts:37
Adds an event listener and records it in Events.
Parameters
Section titled “Parameters”element
Section titled “element”EventTarget
Element, document or window to listen on.
string
Event type, e.g. click.
EventListener
Listener.
capture?
Section titled “capture?”boolean
Use the capture phase. Defaults to false.
Returns
Section titled “Returns”void