delegate-it
Advanced tools
Comparing version 1.1.0-2 to 1.1.0-3
@@ -9,5 +9,5 @@ export declare type EventType = keyof GlobalEventHandlersEventMap; | ||
}; | ||
declare function delegate<TEvent extends Event = Event>(selector: string, type: EventType, callback: DelegateEventHandler<TEvent>, useCapture?: boolean | AddEventListenerOptions): DelegateSubscription; | ||
declare function delegate<TEvent extends Event = Event>(elements: EventTarget | Document, selector: string, type: EventType, callback: DelegateEventHandler<TEvent>, useCapture?: boolean | AddEventListenerOptions): DelegateSubscription; | ||
declare function delegate<TEvent extends Event = Event>(elements: NodeListOf<Element> | EventTarget[] | string, selector: string, type: EventType, callback: DelegateEventHandler<TEvent>, useCapture?: boolean | AddEventListenerOptions): DelegateSubscription[]; | ||
declare function delegate<TElement extends Element = Element, TEvent extends Event = Event>(selector: string, type: EventType, callback: DelegateEventHandler<TEvent>, useCapture?: boolean | AddEventListenerOptions): DelegateSubscription; | ||
declare function delegate<TElement extends Element = Element, TEvent extends Event = Event>(elements: EventTarget | Document, selector: string, type: EventType, callback: DelegateEventHandler<TEvent>, useCapture?: boolean | AddEventListenerOptions): DelegateSubscription; | ||
declare function delegate<TElement extends Element = Element, TEvent extends Event = Event>(elements: NodeListOf<Element> | EventTarget[] | string, selector: string, type: EventType, callback: DelegateEventHandler<TEvent>, useCapture?: boolean | AddEventListenerOptions): DelegateSubscription[]; | ||
export default delegate; |
{ | ||
"name": "delegate-it", | ||
"description": "Lightweight event delegation", | ||
"version": "1.1.0-2", | ||
"version": "1.1.0-3", | ||
"repository": "bfred-it/delegate-it", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9317
94