-
Notifications
You must be signed in to change notification settings - Fork 371
Expand file tree
/
Copy pathjquery.json
More file actions
1310 lines (1310 loc) · 59.8 KB
/
jquery.json
File metadata and controls
1310 lines (1310 loc) · 59.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"!name": "jQuery",
"!define": {
"offset": {
"top": "number",
"left": "number"
},
"keyvalue": {
"name": "string",
"value": "string"
}
},
"jQuery": {
"!type": "fn(selector: string, context?: frameElement) -> jQuery.fn",
"!url": "http://api.jquery.com/jquery/",
"!doc": "Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string.",
"fn": {
"add": {
"!type": "fn(selector: string) -> jQuery.fn",
"!url": "http://api.jquery.com/add/",
"!doc": "Add elements to the set of matched elements."
},
"addBack": {
"!type": "fn(selector?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/addBack/",
"!doc": "Add the previous set of elements on the stack to the current set, optionally filtered by a selector."
},
"addClass": {
"!type": "fn(className: string) -> jQuery.fn",
"!url": "http://api.jquery.com/addClass/",
"!doc": "Adds the specified class(es) to each of the set of matched elements."
},
"after": {
"!type": "fn(content: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/after/",
"!doc": "Insert content, specified by the parameter, after each element in the set of matched elements."
},
"ajaxComplete": {
"!type": "fn(handler: fn(event: +jQuery.Event, req: +XMLHttpRequest)) -> jQuery.fn",
"!url": "http://api.jquery.com/ajaxComplete/",
"!doc": "Register a handler to be called when Ajax requests complete. This is an AjaxEvent."
},
"ajaxError": {
"!type": "fn(handler: fn(event: +jQuery.Event, req: +XMLHttpRequest)) -> jQuery.fn",
"!url": "http://api.jquery.com/ajaxError/",
"!doc": "Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event."
},
"ajaxSend": {
"!type": "fn(handler: fn(event: +jQuery.Event, req: +XMLHttpRequest)) -> jQuery.fn",
"!url": "http://api.jquery.com/ajaxSend/",
"!doc": "Attach a function to be executed before an Ajax request is sent. This is an Ajax Event."
},
"ajaxStart": {
"!type": "fn(handler: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/ajaxStart/",
"!doc": "Register a handler to be called when the first Ajax request begins. This is an Ajax Event."
},
"ajaxStop": {
"!type": "fn(handler: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/ajaxStop/",
"!doc": "Register a handler to be called when all Ajax requests have completed. This is an Ajax Event."
},
"ajaxSuccess": {
"!type": "fn(handler: fn(event: +jQuery.Event, req: +XMLHttpRequest)) -> jQuery.fn",
"!url": "http://api.jquery.com/ajaxSuccess/",
"!doc": ""
},
"andSelf": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/andSelf/",
"!doc": "Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event."
},
"animate": {
"!type": "fn(properties: ?, duration?: number, easing?: string, complete?: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/animate/",
"!doc": "Perform a custom animation of a set of CSS properties."
},
"append": {
"!type": "fn(content: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/append/",
"!doc": "Insert content, specified by the parameter, to the end of each element in the set of matched elements."
},
"appendTo": {
"!type": "fn(target: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/appendTo/",
"!doc": "Insert every element in the set of matched elements to the end of the target."
},
"attr": {
"!type": "fn(name: string, value?: string) -> string",
"!url": "http://api.jquery.com/attr/",
"!doc": "Get the value of an attribute for the first element in the set of matched elements or set one or more attributes for every matched element."
},
"before": {
"!type": "fn(content: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/before/",
"!doc": "Insert content, specified by the parameter, before each element in the set of matched elements."
},
"bind": {
"!type": "fn(eventType: string, handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/bind/",
"!doc": "Attach a handler to an event for the elements."
},
"blur": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/blur/",
"!doc": "Bind an event handler to the 'blur' JavaScript event, or trigger that event on an element."
},
"change": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/change/",
"!doc": "Bind an event handler to the 'change' JavaScript event, or trigger that event on an element."
},
"children": {
"!type": "fn(selector?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/children/",
"!doc": "Get the children of each element in the set of matched elements, optionally filtered by a selector."
},
"click": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/click/",
"!doc": "Bind an event handler to the 'click' JavaScript event, or trigger that event on an element."
},
"clone": {
"!type": "fn(dataAndEvents?: bool, deep?: bool) -> jQuery.fn",
"!url": "http://api.jquery.com/clone/",
"!doc": "Create a deep copy of the set of matched elements."
},
"closest": {
"!type": "fn(selector: string) -> jQuery.fn",
"!url": "http://api.jquery.com/closest/",
"!doc": "For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree."
},
"contents": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/contents/",
"!doc": "Get the children of each element in the set of matched elements, including text and comment nodes."
},
"context": {
"!type": "fn() -> +Element",
"!url": "http://api.jquery.com/context/",
"!doc": "The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document."
},
"css": {
"!type": "fn(name: string, value?: string) -> string",
"!url": "http://api.jquery.com/css/",
"!doc": "Get the value of a style property for the first element in the set of matched elements or set one or more CSS properties for every matched element."
},
"data": {
"!type": "fn(key: string, value?: ?) -> !1",
"!url": "http://api.jquery.com/data/",
"!doc": "Store arbitrary data associated with the matched elements or return the value at the named data store for the first element in the set of matched elements."
},
"dblclick": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/dblclick/",
"!doc": "Bind an event handler to the 'dblclick' JavaScript event, or trigger that event on an element."
},
"delay": {
"!type": "fn(duration: number, queue?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/delay/",
"!doc": "Set a timer to delay execution of subsequent items in the queue."
},
"delegate": {
"!type": "fn(selector: string, eventType: string, handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/delegate/",
"!doc": "Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements."
},
"dequeue": {
"!type": "fn(queue?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/dequeue/",
"!doc": "Execute the next function on the queue for the matched elements."
},
"detach": {
"!type": "fn(selector?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/detach/",
"!doc": "Remove the set of matched elements from the DOM."
},
"die": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/die/",
"!doc": "Remove event handlers previously attached using .live() from the elements."
},
"each": {
"!type": "fn(callback: fn(i: number, element: +Element)) -> jQuery.fn",
"!url": "http://api.jquery.com/each/",
"!doc": "Iterate over a jQuery object, executing a function for each matched element."
},
"empty": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/empty/",
"!doc": "Remove all child nodes of the set of matched elements from the DOM."
},
"end": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/end/",
"!doc": "End the most recent filtering operation in the current chain and return the set of matched elements to its previous state."
},
"eq": {
"!type": "fn(i: number) -> jQuery.fn",
"!url": "http://api.jquery.com/eq/",
"!doc": "Reduce the set of matched elements to the one at the specified index."
},
"error": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/error/",
"!doc": "Bind an event handler to the 'error' JavaScript event."
},
"fadeIn": {
"!type": "fn(duration?: number, complete?: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/fadeIn/",
"!doc": "Display the matched elements by fading them to opaque."
},
"fadeOut": {
"!type": "fn(duration?: number, complete?: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/fadeOut/",
"!doc": "Hide the matched elements by fading them to transparent."
},
"fadeTo": {
"!type": "fn(duration: number, opacity: number, complete?: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/fadeTo/",
"!doc": "Adjust the opacity of the matched elements."
},
"fadeToggle": {
"!type": "fn(duration?: number, easing?: string, complete?: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/fadeToggle/",
"!doc": "Display or hide the matched elements by animating their opacity."
},
"filter": {
"!type": "fn(selector: string) -> jQuery.fn",
"!url": "http://api.jquery.com/filter/",
"!doc": "Reduce the set of matched elements to those that match the selector or pass the function's test."
},
"find": {
"!type": "fn(selector: string) -> jQuery.fn",
"!url": "http://api.jquery.com/find/",
"!doc": "Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element."
},
"finish": {
"!type": "fn(queue?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/finish/",
"!doc": "Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements."
},
"first": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/first/",
"!doc": "Reduce the set of matched elements to the first in the set."
},
"focusin": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/focusin/",
"!doc": "Bind an event handler to the 'focusin' event."
},
"focusout": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/focusout/",
"!doc": "Bind an event handler to the 'focusout' JavaScript event."
},
"get": {
"!type": "fn(i: number) -> +Element",
"!url": "http://api.jquery.com/get/",
"!doc": "Retrieve the DOM elements matched by the jQuery object."
},
"has": {
"!type": "fn(selector: string) -> jQuery.fn",
"!url": "http://api.jquery.com/has/",
"!doc": "Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element."
},
"hasClass": {
"!type": "fn(className: string) -> bool",
"!url": "http://api.jquery.com/hasClass/",
"!doc": "Determine whether any of the matched elements are assigned the given class."
},
"height": {
"!type": "fn() -> number",
"!url": "http://api.jquery.com/height/",
"!doc": "Get the current computed height for the first element in the set of matched elements or set the height of every matched element."
},
"hide": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/hide/",
"!doc": "Hide the matched elements."
},
"hover": {
"!type": "fn(fnOver: fn(+jQuery.Event), fnOut?: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/hover/",
"!doc": "Bind one or two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements."
},
"html": {
"!type": "fn(htmlString?: string|fn(index: number, oldhtml: string) -> string) -> string|jQuery.fn",
"!url": "http://api.jquery.com/html/",
"!doc": "Get the HTML contents of the first element in the set of matched elements or set the HTML contents of every matched element."
},
"index": {
"!type": "fn(selector?: string) -> number",
"!url": "http://api.jquery.com/index/",
"!doc": "Search for a given element from among the matched elements."
},
"innerHeight": {
"!type": "fn() -> number",
"!url": "http://api.jquery.com/innerHeight/",
"!doc": "Get the current computed height for the first element in the set of matched elements, including padding but not border."
},
"innerWidth": {
"!type": "fn() -> number",
"!url": "http://api.jquery.com/innerWidth/",
"!doc": "Get the current computed width for the first element in the set of matched elements, including padding but not border."
},
"insertAfter": {
"!type": "fn(target: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/insertAfter/",
"!doc": "Insert every element in the set of matched elements after the target."
},
"insertBefore": {
"!type": "fn(target: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/insertBefore/",
"!doc": "Insert every element in the set of matched elements before the target."
},
"is": {
"!type": "fn(selector: ?) -> bool",
"!url": "http://api.jquery.com/is/",
"!doc": "Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments."
},
"jquery": {
"!type": "string",
"!url": "http://api.jquery.com/jquery-2/",
"!doc": "A string containing the jQuery version number."
},
"keydown": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/keydown/",
"!doc": "Bind an event handler to the 'keydown' JavaScript event, or trigger that event on an element."
},
"keypress": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/keypress/",
"!doc": "Bind an event handler to the 'keypress' JavaScript event, or trigger that event on an element."
},
"keyup": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/keyup/",
"!doc": "Bind an event handler to the 'keyup' JavaScript event, or trigger that event on an element."
},
"last": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/last/",
"!doc": "Reduce the set of matched elements to the final one in the set."
},
"length": {
"!type": "number",
"!url": "http://api.jquery.com/length/",
"!doc": "The number of elements in the jQuery object."
},
"live": {
"!type": "fn(selector: string, handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/live/",
"!doc": "Attach an event handler for all elements which match the current selector, now and in the future."
},
"load": {
"!type": "fn(handler: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/load/",
"!doc": "Load data from the server and place the returned HTML into the matched element."
},
"map": {
"!type": "fn(callback: fn(i: number, element: +Element)) -> jQuery.fn",
"!url": "http://api.jquery.com/map/",
"!doc": "Pass each element in the current matched set through a function, producing a new jQuery object containing the return values."
},
"mousedown": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/mousedown/",
"!doc": "Bind an event handler to the 'mousedown' JavaScript event, or trigger that event on an element."
},
"mouseenter": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/mouseenter/",
"!doc": "Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element."
},
"mouseleave": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/mouseleave/",
"!doc": "Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element."
},
"mousemove": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/mousemouve/",
"!doc": "Bind an event handler to the 'mousemove' JavaScript event, or trigger that event on an element."
},
"mouseout": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/mouseout/",
"!doc": "Bind an event handler to the 'mouseout' JavaScript event, or trigger that event on an element."
},
"mouseover": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/mouseover/",
"!doc": "Bind an event handler to the 'mouseover' JavaScript event, or trigger that event on an element."
},
"mouseup": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/mouseup/",
"!doc": "Bind an event handler to the 'mouseup' JavaScript event, or trigger that event on an element."
},
"next": {
"!type": "fn(selector?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/next/",
"!doc": "Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector."
},
"nextAll": {
"!type": "fn(selector?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/nextAll/",
"!doc": "Get all following siblings of each element in the set of matched elements, optionally filtered by a selector."
},
"nextUntil": {
"!type": "fn(selector?: string, filter?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/nextUntil/",
"!doc": "Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed."
},
"not": {
"!type": "fn(selector: string) -> jQuery.fn",
"!url": "http://api.jquery.com/not/",
"!doc": "Remove elements from the set of matched elements."
},
"off": {
"!type": "fn(events: string, selector?: string, handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/off/",
"!doc": "Remove an event handler."
},
"offset": {
"!type": "fn() -> offset",
"!url": "http://api.jquery.com/offset/",
"!doc": "Get the current coordinates of the first element, or set the coordinates of every element, in the set of matched elements, relative to the document."
},
"offsetParent": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/offsetParent/",
"!doc": "Get the closest ancestor element that is positioned."
},
"on": {
"!type": "fn(events: string, handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/on/",
"!doc": "Attach an event handler function for one or more events to the selected elements."
},
"one": {
"!type": "fn(events: string, data?: ?, handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/one/",
"!doc": "Attach a handler to an event for the elements. The handler is executed at most once per element."
},
"outerHeight": {
"!type": "fn(includeMargin?: bool) -> number",
"!url": "http://api.jquery.com/outerHeight/",
"!doc": "Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without 'px') representation of the value or null if called on an empty set of elements."
},
"outerWidth": {
"!type": "fn(includeMargin?: bool) -> number",
"!url": "http://api.jquery.com/outerWidth/",
"!doc": "Get the current computed width for the first element in the set of matched elements, including padding and border."
},
"parent": {
"!type": "fn(selector?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/parent/",
"!doc": "Get the parent of each element in the current set of matched elements, optionally filtered by a selector."
},
"parents": {
"!type": "fn(selector?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/parents/",
"!doc": "Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector."
},
"parentsUntil": {
"!type": "fn(selector?: string, filter?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/parentsUntil/",
"!doc": "Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object."
},
"position": {
"!type": "fn() -> offset",
"!url": "http://api.jquery.com/position/",
"!doc": "Get the current coordinates of the first element in the set of matched elements, relative to the offset parent."
},
"prepend": {
"!type": "fn(content: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/prepend/",
"!doc": "Insert content, specified by the parameter, to the beginning of each element in the set of matched elements."
},
"prependTo": {
"!type": "fn(target: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/prependTo/",
"!doc": "Insert every element in the set of matched elements to the beginning of the target."
},
"prev": {
"!type": "fn(selector?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/prev/",
"!doc": "Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector."
},
"prevAll": {
"!type": "fn(selector?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/prevAll/",
"!doc": "Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector."
},
"prevUntil": {
"!type": "fn(selector?: string, filter?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/prevUntil/",
"!doc": "Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object."
},
"promise": {
"!type": "fn(type?: string, target: ?) -> +jQuery.Promise",
"!url": "http://api.jquery.com/promise/",
"!doc": "Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished."
},
"prop": {
"!type": "fn(name: string, value?: string) -> string",
"!url": "http://api.jquery.com/prop/",
"!doc": "Get the value of a property for the first element in the set of matched elements or set one or more properties for every matched element."
},
"pushStack": {
"!type": "fn(elements: [+Element]) -> jQuery.fn",
"!url": "http://api.jquery.com/pushStack/",
"!doc": "Add a collection of DOM elements onto the jQuery stack."
},
"queue": {
"!type": "fn(queue?: string) -> [?]",
"!url": "http://api.jquery.com/queue/",
"!doc": "Show or manipulate the queue of functions to be executed on the matched elements."
},
"ready": {
"!type": "fn(fn: fn(jQuery.fn)) -> jQuery.fn",
"!url": "http://api.jquery.com/ready/",
"!doc": "Specify a function to execute when the DOM is fully loaded."
},
"remove": {
"!type": "fn(selector?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/remove/",
"!doc": "Remove the set of matched elements from the DOM."
},
"removeAttr": {
"!type": "fn(attrName: string) -> jQuery.fn",
"!url": "http://api.jquery.com/removeAttr/",
"!doc": "Remove an attribute from each element in the set of matched elements."
},
"removeClass": {
"!type": "fn(className?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/removeClass/",
"!doc": "Remove a single class, multiple classes, or all classes from each element in the set of matched elements."
},
"removeData": {
"!type": "fn(name?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/removeData/",
"!doc": "Remove a previously-stored piece of data."
},
"removeProp": {
"!type": "fn(propName: string) -> jQuery.fn",
"!url": "http://api.jquery.com/removeProp/",
"!doc": "Remove a property for the set of matched elements."
},
"replaceAll": {
"!type": "fn(target: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/replaceAll/",
"!doc": "Replace each target element with the set of matched elements."
},
"replaceWith": {
"!type": "fn(newContent: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/replaceWith/",
"!doc": "Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed."
},
"resize": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/resize/",
"!doc": "Bind an event handler to the 'resize' JavaScript event, or trigger that event on an element."
},
"scroll": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/scroll/",
"!doc": "Bind an event handler to the 'scroll' JavaScript event, or trigger that event on an element."
},
"scrollLeft": {
"!type": "number",
"!url": "http://api.jquery.com/scrollLeft/",
"!doc": "Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element."
},
"scrollTop": {
"!type": "number",
"!url": "http://api.jquery.com/scrollTop/",
"!doc": "Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element."
},
"select": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/select/",
"!doc": "Bind an event handler to the 'select' JavaScript event, or trigger that event on an element."
},
"selector": {
"!type": "string",
"!url": "http://api.jquery.com/selector/",
"!doc": "A selector representing selector passed to jQuery(), if any, when creating the original set."
},
"serialize": {
"!type": "fn() -> string",
"!url": "http://api.jquery.com/serialize/",
"!doc": "Encode a set of form elements as a string for submission."
},
"serializeArray": {
"!type": "fn() -> [keyvalue]",
"!url": "http://api.jquery.com/serializeArray/",
"!doc": "Encode a set of form elements as an array of names and values."
},
"show": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/show/",
"!doc": "Display the matched elements."
},
"siblings": {
"!type": "fn(selector?: string) -> jQuery.fn",
"!url": "http://api.jquery.com/siblings/",
"!doc": "Get the siblings of each element in the set of matched elements, optionally filtered by a selector."
},
"size": {
"!type": "fn() -> number",
"!url": "http://api.jquery.com/size/",
"!doc": "Return the number of elements in the jQuery object."
},
"slice": {
"!type": "fn(start: number, end?: number) -> jQuery.fn",
"!url": "http://api.jquery.com/slice/",
"!doc": "Reduce the set of matched elements to a subset specified by a range of indices."
},
"slideDown": {
"!type": "fn(duration?: number, complete?: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/slideDown/",
"!doc": "Display the matched elements with a sliding motion."
},
"slideToggle": {
"!type": "fn(duration?: number, complete?: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/slideToggle/",
"!doc": "Display or hide the matched elements with a sliding motion."
},
"slideUp": {
"!type": "fn(duration?: number, complete?: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/slideUp/",
"!doc": "Hide the matched elements with a sliding motion."
},
"stop": {
"!type": "fn(clearQueue?: bool, jumpToEnd?: bool) -> jQuery.fn",
"!url": "http://api.jquery.com/stop/",
"!doc": "Stop the currently-running animation on the matched elements."
},
"submit": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/submit/",
"!doc": "Bind an event handler to the 'submit' JavaScript event, or trigger that event on an element."
},
"text": {
"!type": "fn() -> string",
"!url": "http://api.jquery.com/text/",
"!doc": "Get the combined text contents of each element in the set of matched elements, including their descendants, or set the text contents of the matched elements."
},
"toArray": {
"!type": "fn() -> [+Element]",
"!url": "http://api.jquery.com/toArray/",
"!doc": "Retrieve all the DOM elements contained in the jQuery set, as an array."
},
"toggle": {
"!type": "fn(duration?: number, complete?: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/toggle/",
"!doc": "Display or hide the matched elements."
},
"toggleClass": {
"!type": "fn(className: string) -> jQuery.fn",
"!url": "http://api.jquery.com/toggleClass/",
"!doc": "Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument."
},
"trigger": {
"!type": "fn(eventType: string, params: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/trigger/",
"!doc": "Execute all handlers and behaviors attached to the matched elements for the given event type."
},
"triggerHandler": {
"!type": "fn(eventType: string, params: ?) -> ?",
"!url": "http://api.jquery.com/triggerHandler/",
"!doc": "Execute all handlers attached to an element for an event."
},
"unbind": {
"!type": "fn(eventType?: string, handler?: fn()) -> jQuery.fn",
"!url": "http://api.jquery.com/unbind/",
"!doc": "Remove a previously-attached event handler from the elements."
},
"undelegate": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/undelegate/",
"!doc": "Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements."
},
"unload": {
"!type": "fn(handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/unload/",
"!doc": "Bind an event handler to the 'unload' JavaScript event."
},
"unwrap": {
"!type": "fn() -> jQuery.fn",
"!url": "http://api.jquery.com/unwrap/",
"!doc": "Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place."
},
"val": {
"!type": "fn() -> string",
"!url": "http://api.jquery.com/val/",
"!doc": "Get the current value of the first element in the set of matched elements or set the value of every matched element."
},
"width": {
"!type": "fn() -> number",
"!url": "http://api.jquery.com/width/",
"!doc": "Get the current computed width for the first element in the set of matched elements or set the width of every matched element."
},
"wrap": {
"!type": "fn(wrappingElement: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/wrap/",
"!doc": "Wrap an HTML structure around each element in the set of matched elements."
},
"wrapAll": {
"!type": "fn(wrappingElement: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/wrapAll/",
"!doc": "Wrap an HTML structure around all elements in the set of matched elements."
},
"wrapInner": {
"!type": "fn(wrappingElement: ?) -> jQuery.fn",
"!url": "http://api.jquery.com/wrapInner/",
"!doc": "Wrap an HTML structure around the content of each element in the set of matched elements."
},
"push": {
"!type": "Array.prototype.push",
"!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/push",
"!doc": "Mutates an array by appending the given elements and returning the new length of the array."
},
"sort": {
"!type": "Array.prototype.sort",
"!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/sort",
"!doc": "Sorts the elements of an array in place and returns the array."
},
"splice": {
"!type": "Array.prototype.splice",
"!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/splice",
"!doc": "Changes the content of an array, adding new elements while removing old elements."
}
},
"ajax": {
"!type": "fn(url: string, settings: ?) -> +jQuery.jqXHR",
"!url": "http://api.jquery.com/jquery.ajax/",
"!doc": "Perform an asynchronous HTTP (Ajax) request."
},
"ajaxPrefilter": {
"!type": "fn(dataTypes?: string, handler: fn(options: ?, originalOptions: ?, req: +XMLHttpRequest))",
"!url": "http://api.jquery.com/jquery.ajaxPrefilter/",
"!doc": "Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax()."
},
"ajaxSetup": {
"!type": "fn(options: ?)",
"!url": "http://api.jquery.com/jquery.ajaxSetup/",
"!doc": "Set default values for future Ajax requests. Its use is not recommended."
},
"ajaxTransport": {
"!type": "fn(dataType: string, handler: fn(options: ?, originalOptions: ?, req: +XMLHttpRequest))",
"!url": "http://api.jquery.com/jquery.ajaxTransport/",
"!doc": "Creates an object that handles the actual transmission of Ajax data."
},
"Callbacks": {
"!type": "fn(flags: string) -> +jQuery.Callbacks",
"!url": "http://api.jquery.com/jquery.Callbacks/",
"!doc": "A multi-purpose callbacks list object that provides a powerful way to manage callback lists.",
"prototype": {
"add":{
"!type": "fn(callbacks: ?) -> +jQuery.Callbacks",
"!url": "http://api.jquery.com/callbacks.add/",
"!doc": "Add a callback or a collection of callbacks to a callback list."
},
"disable":{
"!type": "fn() -> +jQuery.Callbacks",
"!url": "http://api.jquery.com/callbacks.disable/",
"!doc": "Disable a callback list from doing anything more."
},
"disabled":{
"!type": "fn() -> bool",
"!url": "http://api.jquery.com/callbacks.disabled/",
"!doc": "Determine if the callbacks list has been disabled."
},
"empty":{
"!type": "fn() -> +jQuery.Callbacks",
"!url": "http://api.jquery.com/callbacks.empty/",
"!doc": "Remove all of the callbacks from a list."
},
"fire":{
"!type": "fn(arguments: ?) -> +jQuery.Callbacks",
"!url": "http://api.jquery.com/callbacks.fire/",
"!doc": "Call all of the callbacks with the given arguments"
},
"fired":{
"!type": "fn() -> bool",
"!url": "http://api.jquery.com/callbacks.fired/",
"!doc": "Determine if the callbacks have already been called at least once."
},
"fireWith":{
"!type": "fn(context?: ?, args?: ?) -> +jQuery.Callbacks",
"!url": "http://api.jquery.com/callbacks.fireWith/",
"!doc": "Call all callbacks in a list with the given context and arguments."
},
"has":{
"!type": "fn(callback: fn()) -> bool",
"!url": "http://api.jquery.com/callbacks.has/",
"!doc": "Determine whether a supplied callback is in a list."
},
"lock":{
"!type": "fn() -> +jQuery.Callbacks",
"!url": "http://api.jquery.com/callbacks.lock/",
"!doc": "Lock a callback list in its current state."
},
"locked":{
"!type": "fn() -> bool",
"!url": "http://api.jquery.com/callbacks.locked/",
"!doc": "Determine if the callbacks list has been locked."
},
"remove":{
"!type": "fn(callbacks: ?) -> +jQuery.Callbacks",
"!url": "http://api.jquery.com/callbacks.remove/",
"!doc": "Remove a callback or a collection of callbacks from a callback list."
}
}
},
"contains": {
"!type": "fn(container: +Element, contained: +Element) -> bool",
"!url": "http://api.jquery.com/jquery.contains/",
"!doc": "Check to see if a DOM element is a descendant of another DOM element."
},
"cssHooks": {
"!type": "?",
"!url": "http://api.jquery.com/cssHooks/",
"!doc": "Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties."
},
"data": {
"!type": "fn(element: +Element, key: string, value: ?) -> !2",
"!url": "http://api.jquery.com/jquery.data/",
"!doc": "Store arbitrary data associated with the specified element and/or return the value that was set."
},
"Event": {
"!type": "fn(type: ?, props?: ?) -> +jQuery.Event",
"!url": "http://api.jquery.com/category/events/event-object/",
"!doc": "The jQuery.Event constructor is exposed and can be used when calling trigger. The new operator is optional.",
"prototype": {
"currentTarget":{
"!type": "+Element",
"!url": "http://api.jquery.com/event.currentTarget/",
"!doc": "The current DOM element within the event bubbling phase."
},
"data":{
"!type": "?",
"!url": "http://api.jquery.com/event.data/",
"!doc": "An optional object of data passed to an event method when the current executing handler is bound."
},
"delegateTarget":{
"!type": "+Element",
"!url": "http://api.jquery.com/event.delegateTarget/",
"!doc": "The element where the currently-called jQuery event handler was attached."
},
"isDefaultPrevented":{
"!type": "fn() -> bool",
"!url": "http://api.jquery.com/event.isDefaultPrevented/",
"!doc": "Returns whether event.preventDefault() was ever called on this event object."
},
"isImmediatePropagationStopped":{
"!type": "fn() -> bool",
"!url": "http://api.jquery.com/event.isImmediatePropagationStopped/",
"!doc": "Returns whether event.stopImmediatePropagation() was ever called on this event object."
},
"isPropagationStopped":{
"!type": "fn() -> bool",
"!url": "http://api.jquery.com/event.isPropagationStopped/",
"!doc": "Returns whether event.stopPropagation() was ever called on this event object."
},
"metaKey":{
"!type": "bool",
"!url": "http://api.jquery.com/event.metaKey/",
"!doc": "Indicates whether the META key was pressed when the event fired."
},
"namespace":{
"!type": "string",
"!url": "http://api.jquery.com/event.namespace/",
"!doc": "The namespace specified when the event was triggered."
},
"pageX":{
"!type": "number",
"!url": "http://api.jquery.com/event.pageX/",
"!doc": "The mouse position relative to the left edge of the document."
},
"pageY":{
"!type": "number",
"!url": "http://api.jquery.com/event.pageY/",
"!doc": "The mouse position relative to the top edge of the document."
},
"preventDefault":{
"!type": "fn()",
"!url": "http://api.jquery.com/event.preventDefault/",
"!doc": "If this method is called, the default action of the event will not be triggered."
},
"relatedTarget":{
"!type": "+Element",
"!url": "http://api.jquery.com/event.relatedTarget/",
"!doc": "The other DOM element involved in the event, if any."
},
"result":{
"!type": "?",
"!url": "http://api.jquery.com/event.result/",
"!doc": "The last value returned by an event handler that was triggered by this event, unless the value was undefined."
},
"stopImmediatePropagation":{
"!type": "fn()",
"!url": "http://api.jquery.com/event.stopImmediatePropagation/",
"!doc": "Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree."
},
"stopPropagation":{
"!type": "fn()",
"!url": "http://api.jquery.com/event.stopPropagation/",
"!doc": "Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event."
},
"target":{
"!type": "+Element",
"!url": "http://api.jquery.com/event.target/",
"!doc": "The DOM element that initiated the event."
},
"timeStamp":{
"!type": "number",
"!url": "http://api.jquery.com/event.timeStamp/",
"!doc": "The difference in milliseconds between the time the browser created the event and January 1, 1970."
},
"type":{
"!type": "string",
"!url": "http://api.jquery.com/event.type/",
"!doc": "Describes the nature of the event."
},
"which":{
"!type": "number",
"!url": "http://api.jquery.com/event.which/",
"!doc": "For key or mouse events, this property indicates the specific key or button that was pressed."
}
}
},
"Deferred": {
"!type": "fn(beforeStart?: fn(deferred: +jQuery.Deferred)) -> +jQuery.Deferred",
"!url": "http://api.jquery.com/jQuery.Deferred/",
"!doc": "A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function.",
"prototype": {
"always":{
"!type": "fn(callback: fn()) -> +jQuery.Deferred",
"!url": "http://api.jquery.com/deferred.always/",
"!doc": "Add handlers to be called when the Deferred object is either resolved or rejected."
},
"done":{
"!type": "fn(callback: fn()) -> +jQuery.Deferred",
"!url": "http://api.jquery.com/deferred.done/",
"!doc": "Add handlers to be called when the Deferred object is resolved."
},
"fail":{
"!type": "fn(callback: fn()) -> +jQuery.Deferred",
"!url": "http://api.jquery.com/deferred.fail/",
"!doc": "Add handlers to be called when the Deferred object is rejected."
},
"isRejected":{
"!type": "fn() -> bool",
"!url": "http://api.jquery.com/deferred.isRejected/",
"!doc": "Determine whether a Deferred object has been rejected."
},
"isResolved":{
"!type": "fn() -> bool",
"!url": "http://api.jquery.com/deferred.isResolved/",
"!doc": "Determine whether a Deferred object has been resolved."
},
"notify":{
"!type": "fn(args?: ?) -> +jQuery.Deferred",
"!url": "http://api.jquery.com/deferred.notify/",
"!doc": "Call the progressCallbacks on a Deferred object with the given args."
},
"notifyWith":{
"!type": "fn(context?: ?, args?: ?) -> +jQuery.Deferred",
"!url": "http://api.jquery.com/deferred.notifyWith/",
"!doc": "Call the progressCallbacks on a Deferred object with the given context and args."
},
"pipe":{
"!type": "fn(doneFilter?: fn(), failFilter?: fn()) -> +jQuery.Promise",
"!url": "http://api.jquery.com/deferred.pipe/",
"!doc": "Utility method to filter and/or chain Deferreds."
},
"progress":{
"!type": "fn(callback: fn()) -> +jQuery.Deferred",
"!url": "http://api.jquery.com/deferred.progress/",
"!doc": "Add handlers to be called when the Deferred object generates progress notifications."
},
"promise":{
"!type": "fn(target: ?) -> +jQuery.Promise",
"!url": "http://api.jquery.com/deferred.promise/",
"!doc": "Return a Deferred's Promise object."
},
"reject":{
"!type": "fn(args?: ?) -> +jQuery.Deferred",
"!url": "http://api.jquery.com/deferred.reject/",
"!doc": "Reject a Deferred object and call any failCallbacks with the given args."
},
"rejectWith":{
"!type": "fn(context?: ?, args?: ?) -> +jQuery.Deferred",
"!url": "http://api.jquery.com/deferred.rejectWith/",