bind-event-listener
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -26,2 +26,71 @@ import { Binding, UnbindFn } from './types'; | ||
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn; | ||
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string>(target: Target, bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7> | ||
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn; | ||
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string, Type8 extends string>(target: Target, bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7>, | ||
Binding<Target, Type8> | ||
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn; | ||
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string, Type8 extends string, Type9 extends string>(target: Target, bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7>, | ||
Binding<Target, Type8>, | ||
Binding<Target, Type9> | ||
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn; | ||
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string, Type8 extends string, Type9 extends string, Type10 extends string>(target: Target, bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7>, | ||
Binding<Target, Type8>, | ||
Binding<Target, Type9>, | ||
Binding<Target, Type10> | ||
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn; | ||
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string, Type8 extends string, Type9 extends string, Type10 extends string, Type11 extends string>(target: Target, bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7>, | ||
Binding<Target, Type8>, | ||
Binding<Target, Type9>, | ||
Binding<Target, Type10>, | ||
Binding<Target, Type11> | ||
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn; | ||
export declare function bindAll<Target extends EventTarget, Type1 extends string, Type2 extends string, Type3 extends string, Type4 extends string, Type5 extends string, Type6 extends string, Type7 extends string, Type8 extends string, Type9 extends string, Type10 extends string, Type11 extends string, Type12 extends string>(target: Target, bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7>, | ||
Binding<Target, Type8>, | ||
Binding<Target, Type9>, | ||
Binding<Target, Type10>, | ||
Binding<Target, Type11>, | ||
Binding<Target, Type12> | ||
], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn; | ||
export declare function bindAll(target: EventTarget, bindings: Binding[], sharedOptions?: boolean | AddEventListenerOptions): UnbindFn; |
{ | ||
"name": "bind-event-listener", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Making binding and unbinding DOM events easier", |
@@ -112,2 +112,164 @@ import { Binding, UnbindFn } from './types'; | ||
): UnbindFn; | ||
export function bindAll< | ||
Target extends EventTarget, | ||
Type1 extends string, | ||
Type2 extends string, | ||
Type3 extends string, | ||
Type4 extends string, | ||
Type5 extends string, | ||
Type6 extends string, | ||
Type7 extends string, | ||
>( | ||
target: Target, | ||
bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7>, | ||
], | ||
sharedOptions?: boolean | AddEventListenerOptions, | ||
): UnbindFn; | ||
export function bindAll< | ||
Target extends EventTarget, | ||
Type1 extends string, | ||
Type2 extends string, | ||
Type3 extends string, | ||
Type4 extends string, | ||
Type5 extends string, | ||
Type6 extends string, | ||
Type7 extends string, | ||
Type8 extends string, | ||
>( | ||
target: Target, | ||
bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7>, | ||
Binding<Target, Type8>, | ||
], | ||
sharedOptions?: boolean | AddEventListenerOptions, | ||
): UnbindFn; | ||
export function bindAll< | ||
Target extends EventTarget, | ||
Type1 extends string, | ||
Type2 extends string, | ||
Type3 extends string, | ||
Type4 extends string, | ||
Type5 extends string, | ||
Type6 extends string, | ||
Type7 extends string, | ||
Type8 extends string, | ||
Type9 extends string, | ||
>( | ||
target: Target, | ||
bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7>, | ||
Binding<Target, Type8>, | ||
Binding<Target, Type9>, | ||
], | ||
sharedOptions?: boolean | AddEventListenerOptions, | ||
): UnbindFn; | ||
export function bindAll< | ||
Target extends EventTarget, | ||
Type1 extends string, | ||
Type2 extends string, | ||
Type3 extends string, | ||
Type4 extends string, | ||
Type5 extends string, | ||
Type6 extends string, | ||
Type7 extends string, | ||
Type8 extends string, | ||
Type9 extends string, | ||
Type10 extends string, | ||
>( | ||
target: Target, | ||
bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7>, | ||
Binding<Target, Type8>, | ||
Binding<Target, Type9>, | ||
Binding<Target, Type10>, | ||
], | ||
sharedOptions?: boolean | AddEventListenerOptions, | ||
): UnbindFn; | ||
export function bindAll< | ||
Target extends EventTarget, | ||
Type1 extends string, | ||
Type2 extends string, | ||
Type3 extends string, | ||
Type4 extends string, | ||
Type5 extends string, | ||
Type6 extends string, | ||
Type7 extends string, | ||
Type8 extends string, | ||
Type9 extends string, | ||
Type10 extends string, | ||
Type11 extends string, | ||
>( | ||
target: Target, | ||
bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7>, | ||
Binding<Target, Type8>, | ||
Binding<Target, Type9>, | ||
Binding<Target, Type10>, | ||
Binding<Target, Type11>, | ||
], | ||
sharedOptions?: boolean | AddEventListenerOptions, | ||
): UnbindFn; | ||
export function bindAll< | ||
Target extends EventTarget, | ||
Type1 extends string, | ||
Type2 extends string, | ||
Type3 extends string, | ||
Type4 extends string, | ||
Type5 extends string, | ||
Type6 extends string, | ||
Type7 extends string, | ||
Type8 extends string, | ||
Type9 extends string, | ||
Type10 extends string, | ||
Type11 extends string, | ||
Type12 extends string, | ||
>( | ||
target: Target, | ||
bindings: [ | ||
Binding<Target, Type1>, | ||
Binding<Target, Type2>, | ||
Binding<Target, Type3>, | ||
Binding<Target, Type4>, | ||
Binding<Target, Type5>, | ||
Binding<Target, Type6>, | ||
Binding<Target, Type7>, | ||
Binding<Target, Type8>, | ||
Binding<Target, Type9>, | ||
Binding<Target, Type10>, | ||
Binding<Target, Type11>, | ||
Binding<Target, Type12>, | ||
], | ||
sharedOptions?: boolean | AddEventListenerOptions, | ||
): UnbindFn; | ||
export function bindAll( | ||
@@ -114,0 +276,0 @@ target: EventTarget, |
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
30008
513