Ir al contenido

useEventListener

Añade un detector de eventos al DOM o a window.

Signature

useEventListener(type, handler, options?)

Import

import { useEventListener } from "@gunkin/uiify/hooks";