deno.com

interface EventListener

Call Signatures #

(evt: Event): void

The EventListener interface represents a callback function to be called whenever an event of a specific type occurs on a target object.

This is a basic event listener, represented by a simple function that receives an Event object as its only parameter.