- Preparing search index...
- The search index is not available
queueable
- fromDom<T>(init): ((type, target, options?) => AsyncIterableIterator<GlobalEventHandlersEventMap[T]>)
-
Type Parameters
-
T extends keyof GlobalEventHandlersEventMap
Parameters
-
init: (() => PushAdapter<GlobalEventHandlersEventMap[T]>)
Returns ((type, target, options?) => AsyncIterableIterator<GlobalEventHandlersEventMap[T]>)
-
- (type, target, options?): AsyncIterableIterator<GlobalEventHandlersEventMap[T]>
-
Parameters
-
type: T
-
target: Target<T, Listener<T>, boolean | AddEventListenerOptions>
-
Optional
options: boolean | AddEventListenerOptions
Returns AsyncIterableIterator<GlobalEventHandlersEventMap[T]>
Convert DOM events to an async iterable iterator.