Function createEventListenerAtom
- createEventListenerAtom(context): StateAtom<EventListenerMap, {
dispatchEvent: ((__namedParameters, eventType, event) => boolean);
off: ((__namedParameters, eventType, callback) => boolean);
on: ((__namedParameters, eventType, callback) => boolean);
}>
-
Returns StateAtom<EventListenerMap, {
dispatchEvent: ((__namedParameters, eventType, event) => boolean);
off: ((__namedParameters, eventType, callback) => boolean);
on: ((__namedParameters, eventType, callback) => boolean);
}>