use-reflect-event
the useReflectEvent hook reflects the event from the reference origin to the reference destination
module
import {
useReflectEvent,
reflectEvent
} from "@atomico/hooks/use-reflect-event";Syntax useReflectEvent
useReflectEvent(
refFrom: Ref<Element>,
refTo: Ref<Element>,
eventType: string
);Syntax reflectEvent
reflectEvent( target: Element, event: Event );Last updated
Was this helpful?
