jsquery_node 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsquery.d.ts +32 -32
- package/jsquery.ts +1 -1
- package/package.json +1 -1
package/jsquery.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const $: {
|
|
|
18
18
|
toggleClass(names: string | string[]): any;
|
|
19
19
|
remove(): any;
|
|
20
20
|
"new"(): any;
|
|
21
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
21
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
22
22
|
length: number;
|
|
23
23
|
toString(): string;
|
|
24
24
|
toLocaleString(): string;
|
|
@@ -130,7 +130,7 @@ export declare const $: {
|
|
|
130
130
|
toggleClass(names: string | string[]): any;
|
|
131
131
|
remove(): any;
|
|
132
132
|
"new"(): any;
|
|
133
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
133
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
134
134
|
length: number;
|
|
135
135
|
toString(): string;
|
|
136
136
|
toLocaleString(): string;
|
|
@@ -231,7 +231,7 @@ export declare const $: {
|
|
|
231
231
|
toggleClass(names: string | string[]): any;
|
|
232
232
|
remove(): any;
|
|
233
233
|
"new"(): any;
|
|
234
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
234
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
235
235
|
length: number;
|
|
236
236
|
toString(): string;
|
|
237
237
|
toLocaleString(): string;
|
|
@@ -343,7 +343,7 @@ export declare const $: {
|
|
|
343
343
|
toggleClass(names: string | string[]): any;
|
|
344
344
|
remove(): any;
|
|
345
345
|
"new"(): any;
|
|
346
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
346
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
347
347
|
length: number;
|
|
348
348
|
toString(): string;
|
|
349
349
|
toLocaleString(): string;
|
|
@@ -455,7 +455,7 @@ export declare const $: {
|
|
|
455
455
|
toggleClass(names: string | string[]): any;
|
|
456
456
|
remove(): any;
|
|
457
457
|
"new"(): any;
|
|
458
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
458
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
459
459
|
length: number;
|
|
460
460
|
toString(): string;
|
|
461
461
|
toLocaleString(): string;
|
|
@@ -556,7 +556,7 @@ export declare const $: {
|
|
|
556
556
|
toggleClass(names: string | string[]): any;
|
|
557
557
|
remove(): any;
|
|
558
558
|
"new"(): any;
|
|
559
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
559
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
560
560
|
length: number;
|
|
561
561
|
toString(): string;
|
|
562
562
|
toLocaleString(): string;
|
|
@@ -664,7 +664,7 @@ export declare const $: {
|
|
|
664
664
|
toggleClass(names: string | string[]): any;
|
|
665
665
|
remove(): any;
|
|
666
666
|
"new"(): any;
|
|
667
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
667
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
668
668
|
length: number;
|
|
669
669
|
toString(): string;
|
|
670
670
|
toLocaleString(): string;
|
|
@@ -795,7 +795,7 @@ export declare const $: {
|
|
|
795
795
|
toggleClass(names: string | string[]): any;
|
|
796
796
|
remove(): any;
|
|
797
797
|
"new"(): any;
|
|
798
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
798
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
799
799
|
length: number;
|
|
800
800
|
toString(): string;
|
|
801
801
|
toLocaleString(): string;
|
|
@@ -3404,7 +3404,7 @@ export declare const $: {
|
|
|
3404
3404
|
toggleClass(names: string | string[]): any;
|
|
3405
3405
|
remove(): any;
|
|
3406
3406
|
"new"(): any;
|
|
3407
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
3407
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
3408
3408
|
length: number;
|
|
3409
3409
|
toString(): string;
|
|
3410
3410
|
toLocaleString(): string;
|
|
@@ -3516,7 +3516,7 @@ export declare const $: {
|
|
|
3516
3516
|
toggleClass(names: string | string[]): any;
|
|
3517
3517
|
remove(): any;
|
|
3518
3518
|
"new"(): any;
|
|
3519
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
3519
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
3520
3520
|
length: number;
|
|
3521
3521
|
toString(): string;
|
|
3522
3522
|
toLocaleString(): string;
|
|
@@ -3617,7 +3617,7 @@ export declare const $: {
|
|
|
3617
3617
|
toggleClass(names: string | string[]): any;
|
|
3618
3618
|
remove(): any;
|
|
3619
3619
|
"new"(): any;
|
|
3620
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
3620
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
3621
3621
|
length: number;
|
|
3622
3622
|
toString(): string;
|
|
3623
3623
|
toLocaleString(): string;
|
|
@@ -3729,7 +3729,7 @@ export declare const $: {
|
|
|
3729
3729
|
toggleClass(names: string | string[]): any;
|
|
3730
3730
|
remove(): any;
|
|
3731
3731
|
"new"(): any;
|
|
3732
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
3732
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
3733
3733
|
length: number;
|
|
3734
3734
|
toString(): string;
|
|
3735
3735
|
toLocaleString(): string;
|
|
@@ -3841,7 +3841,7 @@ export declare const $: {
|
|
|
3841
3841
|
toggleClass(names: string | string[]): any;
|
|
3842
3842
|
remove(): any;
|
|
3843
3843
|
"new"(): any;
|
|
3844
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
3844
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
3845
3845
|
length: number;
|
|
3846
3846
|
toString(): string;
|
|
3847
3847
|
toLocaleString(): string;
|
|
@@ -3942,7 +3942,7 @@ export declare const $: {
|
|
|
3942
3942
|
toggleClass(names: string | string[]): any;
|
|
3943
3943
|
remove(): any;
|
|
3944
3944
|
"new"(): any;
|
|
3945
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
3945
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
3946
3946
|
length: number;
|
|
3947
3947
|
toString(): string;
|
|
3948
3948
|
toLocaleString(): string;
|
|
@@ -4054,7 +4054,7 @@ export declare const $: {
|
|
|
4054
4054
|
toggleClass(names: string | string[]): any;
|
|
4055
4055
|
remove(): any;
|
|
4056
4056
|
"new"(): any;
|
|
4057
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
4057
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
4058
4058
|
length: number;
|
|
4059
4059
|
toString(): string;
|
|
4060
4060
|
toLocaleString(): string;
|
|
@@ -4166,7 +4166,7 @@ export declare const $: {
|
|
|
4166
4166
|
toggleClass(names: string | string[]): any;
|
|
4167
4167
|
remove(): any;
|
|
4168
4168
|
"new"(): any;
|
|
4169
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
4169
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
4170
4170
|
length: number;
|
|
4171
4171
|
toString(): string;
|
|
4172
4172
|
toLocaleString(): string;
|
|
@@ -4267,7 +4267,7 @@ export declare const $: {
|
|
|
4267
4267
|
toggleClass(names: string | string[]): any;
|
|
4268
4268
|
remove(): any;
|
|
4269
4269
|
"new"(): any;
|
|
4270
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
4270
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
4271
4271
|
length: number;
|
|
4272
4272
|
toString(): string;
|
|
4273
4273
|
toLocaleString(): string;
|
|
@@ -4379,7 +4379,7 @@ export declare const $: {
|
|
|
4379
4379
|
toggleClass(names: string | string[]): any;
|
|
4380
4380
|
remove(): any;
|
|
4381
4381
|
"new"(): any;
|
|
4382
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
4382
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
4383
4383
|
length: number;
|
|
4384
4384
|
toString(): string;
|
|
4385
4385
|
toLocaleString(): string;
|
|
@@ -4491,7 +4491,7 @@ export declare const $: {
|
|
|
4491
4491
|
toggleClass(names: string | string[]): any;
|
|
4492
4492
|
remove(): any;
|
|
4493
4493
|
"new"(): any;
|
|
4494
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
4494
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
4495
4495
|
length: number;
|
|
4496
4496
|
toString(): string;
|
|
4497
4497
|
toLocaleString(): string;
|
|
@@ -4592,7 +4592,7 @@ export declare const $: {
|
|
|
4592
4592
|
toggleClass(names: string | string[]): any;
|
|
4593
4593
|
remove(): any;
|
|
4594
4594
|
"new"(): any;
|
|
4595
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
4595
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
4596
4596
|
length: number;
|
|
4597
4597
|
toString(): string;
|
|
4598
4598
|
toLocaleString(): string;
|
|
@@ -4738,7 +4738,7 @@ export declare const $: {
|
|
|
4738
4738
|
toggleClass(names: string | string[]): any;
|
|
4739
4739
|
remove(): any;
|
|
4740
4740
|
"new"(): any;
|
|
4741
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
4741
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
4742
4742
|
length: number;
|
|
4743
4743
|
toString(): string;
|
|
4744
4744
|
toLocaleString(): string;
|
|
@@ -4850,7 +4850,7 @@ export declare const $: {
|
|
|
4850
4850
|
toggleClass(names: string | string[]): any;
|
|
4851
4851
|
remove(): any;
|
|
4852
4852
|
"new"(): any;
|
|
4853
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
4853
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
4854
4854
|
length: number;
|
|
4855
4855
|
toString(): string;
|
|
4856
4856
|
toLocaleString(): string;
|
|
@@ -4951,7 +4951,7 @@ export declare const $: {
|
|
|
4951
4951
|
toggleClass(names: string | string[]): any;
|
|
4952
4952
|
remove(): any;
|
|
4953
4953
|
"new"(): any;
|
|
4954
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
4954
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
4955
4955
|
length: number;
|
|
4956
4956
|
toString(): string;
|
|
4957
4957
|
toLocaleString(): string;
|
|
@@ -5063,7 +5063,7 @@ export declare const $: {
|
|
|
5063
5063
|
toggleClass(names: string | string[]): any;
|
|
5064
5064
|
remove(): any;
|
|
5065
5065
|
"new"(): any;
|
|
5066
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
5066
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
5067
5067
|
length: number;
|
|
5068
5068
|
toString(): string;
|
|
5069
5069
|
toLocaleString(): string;
|
|
@@ -5175,7 +5175,7 @@ export declare const $: {
|
|
|
5175
5175
|
toggleClass(names: string | string[]): any;
|
|
5176
5176
|
remove(): any;
|
|
5177
5177
|
"new"(): any;
|
|
5178
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
5178
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
5179
5179
|
length: number;
|
|
5180
5180
|
toString(): string;
|
|
5181
5181
|
toLocaleString(): string;
|
|
@@ -5276,7 +5276,7 @@ export declare const $: {
|
|
|
5276
5276
|
toggleClass(names: string | string[]): any;
|
|
5277
5277
|
remove(): any;
|
|
5278
5278
|
"new"(): any;
|
|
5279
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
5279
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
5280
5280
|
length: number;
|
|
5281
5281
|
toString(): string;
|
|
5282
5282
|
toLocaleString(): string;
|
|
@@ -5384,7 +5384,7 @@ export declare const $: {
|
|
|
5384
5384
|
toggleClass(names: string | string[]): any;
|
|
5385
5385
|
remove(): any;
|
|
5386
5386
|
"new"(): any;
|
|
5387
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
5387
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
5388
5388
|
length: number;
|
|
5389
5389
|
toString(): string;
|
|
5390
5390
|
toLocaleString(): string;
|
|
@@ -5517,7 +5517,7 @@ export declare const $: {
|
|
|
5517
5517
|
toggleClass(names: string | string[]): any;
|
|
5518
5518
|
remove(): any;
|
|
5519
5519
|
"new"(): any;
|
|
5520
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
5520
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
5521
5521
|
length: number;
|
|
5522
5522
|
toString(): string;
|
|
5523
5523
|
toLocaleString(): string;
|
|
@@ -8126,7 +8126,7 @@ export declare const $: {
|
|
|
8126
8126
|
toggleClass(names: string | string[]): any;
|
|
8127
8127
|
remove(): any;
|
|
8128
8128
|
"new"(): any;
|
|
8129
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
8129
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
8130
8130
|
length: number;
|
|
8131
8131
|
toString(): string;
|
|
8132
8132
|
toLocaleString(): string;
|
|
@@ -8238,7 +8238,7 @@ export declare const $: {
|
|
|
8238
8238
|
toggleClass(names: string | string[]): any;
|
|
8239
8239
|
remove(): any;
|
|
8240
8240
|
"new"(): any;
|
|
8241
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
8241
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
8242
8242
|
length: number;
|
|
8243
8243
|
toString(): string;
|
|
8244
8244
|
toLocaleString(): string;
|
|
@@ -8339,7 +8339,7 @@ export declare const $: {
|
|
|
8339
8339
|
toggleClass(names: string | string[]): any;
|
|
8340
8340
|
remove(): any;
|
|
8341
8341
|
"new"(): any;
|
|
8342
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
8342
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
8343
8343
|
length: number;
|
|
8344
8344
|
toString(): string;
|
|
8345
8345
|
toLocaleString(): string;
|
|
@@ -8447,7 +8447,7 @@ export declare const $: {
|
|
|
8447
8447
|
toggleClass(names: string | string[]): any;
|
|
8448
8448
|
remove(): any;
|
|
8449
8449
|
"new"(): any;
|
|
8450
|
-
click(func: (this: HTMLElement, ev: any) => any, s
|
|
8450
|
+
click(func: (this: HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions): any;
|
|
8451
8451
|
length: number;
|
|
8452
8452
|
toString(): string;
|
|
8453
8453
|
toLocaleString(): string;
|
package/jsquery.ts
CHANGED
|
@@ -56,7 +56,7 @@ export const { $, JSQuery } = (() => {
|
|
|
56
56
|
return temp;
|
|
57
57
|
}
|
|
58
58
|
//events
|
|
59
|
-
click(func: (this:HTMLElement, ev: any) => any, s
|
|
59
|
+
click(func: (this:HTMLElement, ev: any) => any, s?: boolean | AddEventListenerOptions) {
|
|
60
60
|
this.forEach((v) => v.click(func, s));
|
|
61
61
|
return this;
|
|
62
62
|
}
|