Skip to content

Commit 29ac3cc

Browse files
committed
added target():JQuery method to all components
1 parent 5bee841 commit 29ac3cc

File tree

62 files changed

+1053
-471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1053
-471
lines changed

doc/api.json

Lines changed: 168 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@
4040
"description": "Event on title that will cause accordion to open"
4141
}
4242
},
43-
"methods": {}
43+
"methods": {
44+
"target": {
45+
"type": "JQuery",
46+
"description": "Target element"
47+
}
48+
}
4449
},
4550
"component/accordion-item": {
4651
"dir": "src/components/containers/accordion-item",
@@ -61,7 +66,12 @@
6166
"description": "Accordion title"
6267
}
6368
},
64-
"methods": {}
69+
"methods": {
70+
"target": {
71+
"type": "JQuery",
72+
"description": "Target element"
73+
}
74+
}
6575
},
6676
"component/button": {
6777
"dir": "src/components/form-inputs/button",
@@ -117,6 +127,10 @@
117127
"description": "State of loading (true | false)"
118128
}
119129
}
130+
},
131+
"target": {
132+
"type": "JQuery",
133+
"description": "Target element"
120134
}
121135
}
122136
},
@@ -206,7 +220,12 @@
206220
"description": "v-model binding"
207221
}
208222
},
209-
"methods": {}
223+
"methods": {
224+
"target": {
225+
"type": "JQuery",
226+
"description": "Target element"
227+
}
228+
}
210229
},
211230
"component/currency": {
212231
"dir": "src/components/form-inputs/currency",
@@ -344,7 +363,12 @@
344363
"description": "Size of field"
345364
}
346365
},
347-
"methods": {}
366+
"methods": {
367+
"target": {
368+
"type": "JQuery",
369+
"description": "Target element"
370+
}
371+
}
348372
},
349373
"component/datetime": {
350374
"dir": "src/components/form-inputs/calendar/datetime",
@@ -402,7 +426,12 @@
402426
"description": "Size of field"
403427
}
404428
},
405-
"methods": {}
429+
"methods": {
430+
"target": {
431+
"type": "JQuery",
432+
"description": "Target element"
433+
}
434+
}
406435
},
407436
"component/dropdown": {
408437
"dir": "src/components/form-inputs/dropdown",
@@ -456,7 +485,12 @@
456485
"description": "Size of field"
457486
}
458487
},
459-
"methods": {}
488+
"methods": {
489+
"target": {
490+
"type": "JQuery",
491+
"description": "Target element"
492+
}
493+
}
460494
},
461495
"component/dropdown-item": {
462496
"dir": "src/components/form-inputs/dropdown-item",
@@ -473,7 +507,12 @@
473507
"description": "Dropdown item value"
474508
}
475509
},
476-
"methods": {}
510+
"methods": {
511+
"target": {
512+
"type": "JQuery",
513+
"description": "Target element"
514+
}
515+
}
477516
},
478517
"component/field": {
479518
"dir": "src/components/fields/field",
@@ -503,7 +542,12 @@
503542
"description": "Size of field"
504543
}
505544
},
506-
"methods": {}
545+
"methods": {
546+
"target": {
547+
"type": "JQuery",
548+
"description": "Target element"
549+
}
550+
}
507551
},
508552
"component/field-base": {
509553
"dir": "src/components/fields/field-base",
@@ -555,7 +599,12 @@
555599
"description": "Size of field"
556600
}
557601
},
558-
"methods": {}
602+
"methods": {
603+
"target": {
604+
"type": "JQuery",
605+
"description": "Target element"
606+
}
607+
}
559608
},
560609
"component/fields-inline": {
561610
"dir": "src/components/fields/fields-inline",
@@ -576,7 +625,12 @@
576625
"description": "Size of field"
577626
}
578627
},
579-
"methods": {}
628+
"methods": {
629+
"target": {
630+
"type": "JQuery",
631+
"description": "Target element"
632+
}
633+
}
580634
},
581635
"component/form": {
582636
"dir": "src/components/form-inputs/form",
@@ -606,7 +660,12 @@
606660
"description": "Fields validation object. See: http://semantic-ui.com/behaviors/form.html#specifying-validation-rules"
607661
}
608662
},
609-
"methods": {}
663+
"methods": {
664+
"target": {
665+
"type": "JQuery",
666+
"description": "Target element"
667+
}
668+
}
610669
},
611670
"component/header": {
612671
"dir": "src/components/etc/header",
@@ -619,7 +678,12 @@
619678
"type": "component",
620679
"readme": false,
621680
"props": {},
622-
"methods": {}
681+
"methods": {
682+
"target": {
683+
"type": "JQuery",
684+
"description": "Target element"
685+
}
686+
}
623687
},
624688
"component/input": {
625689
"dir": "src/components/form-inputs/input",
@@ -683,7 +747,12 @@
683747
"description": "Size of field"
684748
}
685749
},
686-
"methods": {}
750+
"methods": {
751+
"target": {
752+
"type": "JQuery",
753+
"description": "Target element"
754+
}
755+
}
687756
},
688757
"component/menu-base": {
689758
"dir": "src/components/menus/menu-base",
@@ -731,7 +800,12 @@
731800
"description": "Dropdown title/label."
732801
}
733802
},
734-
"methods": {}
803+
"methods": {
804+
"target": {
805+
"type": "JQuery",
806+
"description": "Target element"
807+
}
808+
}
735809
},
736810
"component/menu-horizontal": {
737811
"dir": "src/components/menus/menu-horizontal",
@@ -756,7 +830,12 @@
756830
"description": "JQuery object or selector to be attached as sidebar toggle"
757831
}
758832
},
759-
"methods": {}
833+
"methods": {
834+
"target": {
835+
"type": "JQuery",
836+
"description": "Target element"
837+
}
838+
}
760839
},
761840
"component/menu-item": {
762841
"dir": "src/components/menus/menu-item",
@@ -785,7 +864,12 @@
785864
"description": "Target URL when menu item clicked. If you are using vue-router then this attribute represents `to` attribute of `router-link` tag."
786865
}
787866
},
788-
"methods": {}
867+
"methods": {
868+
"target": {
869+
"type": "JQuery",
870+
"description": "Target element"
871+
}
872+
}
789873
},
790874
"component/menu-vertical": {
791875
"dir": "src/components/menus/menu-vertical",
@@ -806,7 +890,12 @@
806890
"description": "JQuery object or selector to be attached as sidebar toggle"
807891
}
808892
},
809-
"methods": {}
893+
"methods": {
894+
"target": {
895+
"type": "JQuery",
896+
"description": "Target element"
897+
}
898+
}
810899
},
811900
"component/message": {
812901
"dir": "src/components/etc/message",
@@ -837,7 +926,12 @@
837926
"default": "'fade'"
838927
}
839928
},
840-
"methods": {}
929+
"methods": {
930+
"target": {
931+
"type": "JQuery",
932+
"description": "Target element"
933+
}
934+
}
841935
},
842936
"component/modal": {
843937
"dir": "src/components/modal",
@@ -925,6 +1019,10 @@
9251019
"type": "JQuery",
9261020
"description": "Shows the modal"
9271021
},
1022+
"target": {
1023+
"type": "JQuery",
1024+
"description": "Target element"
1025+
},
9281026
"toggle": {
9291027
"type": "JQuery",
9301028
"description": "Toggles the modal"
@@ -1001,7 +1099,12 @@
10011099
"description": "Size of field"
10021100
}
10031101
},
1004-
"methods": {}
1102+
"methods": {
1103+
"target": {
1104+
"type": "JQuery",
1105+
"description": "Target element"
1106+
}
1107+
}
10051108
},
10061109
"component/pusher": {
10071110
"dir": "src/components/containers/pusher",
@@ -1013,7 +1116,12 @@
10131116
"type": "component",
10141117
"readme": false,
10151118
"props": {},
1016-
"methods": {}
1119+
"methods": {
1120+
"target": {
1121+
"type": "JQuery",
1122+
"description": "Target element"
1123+
}
1124+
}
10171125
},
10181126
"component/radio": {
10191127
"dir": "src/components/form-inputs/radio",
@@ -1038,7 +1146,12 @@
10381146
"description": "v-model binding"
10391147
}
10401148
},
1041-
"methods": {}
1149+
"methods": {
1150+
"target": {
1151+
"type": "JQuery",
1152+
"description": "Target element"
1153+
}
1154+
}
10421155
},
10431156
"component/radio-group": {
10441157
"dir": "src/components/form-inputs/radio-group",
@@ -1072,7 +1185,12 @@
10721185
"description": "Size of field"
10731186
}
10741187
},
1075-
"methods": {}
1188+
"methods": {
1189+
"target": {
1190+
"type": "JQuery",
1191+
"description": "Target element"
1192+
}
1193+
}
10761194
},
10771195
"component/segment": {
10781196
"dir": "src/components/containers/segment",
@@ -1084,7 +1202,12 @@
10841202
"type": "component",
10851203
"readme": false,
10861204
"props": {},
1087-
"methods": {}
1205+
"methods": {
1206+
"target": {
1207+
"type": "JQuery",
1208+
"description": "Target element"
1209+
}
1210+
}
10881211
},
10891212
"component/tab": {
10901213
"dir": "src/components/containers/tab",
@@ -1110,6 +1233,10 @@
11101233
"type": "string"
11111234
}
11121235
}
1236+
},
1237+
"target": {
1238+
"type": "JQuery",
1239+
"description": "Target element"
11131240
}
11141241
}
11151242
},
@@ -1136,7 +1263,12 @@
11361263
"description": "Name of path"
11371264
}
11381265
},
1139-
"methods": {}
1266+
"methods": {
1267+
"target": {
1268+
"type": "JQuery",
1269+
"description": "Target element"
1270+
}
1271+
}
11401272
},
11411273
"component/time": {
11421274
"dir": "src/components/form-inputs/calendar/time",
@@ -1194,7 +1326,12 @@
11941326
"description": "Size of field"
11951327
}
11961328
},
1197-
"methods": {}
1329+
"methods": {
1330+
"target": {
1331+
"type": "JQuery",
1332+
"description": "Target element"
1333+
}
1334+
}
11981335
},
11991336
"component/tree": {
12001337
"dir": "src/components/etc/tree",
@@ -1237,7 +1374,12 @@
12371374
"default": "'ul'"
12381375
}
12391376
},
1240-
"methods": {}
1377+
"methods": {
1378+
"target": {
1379+
"type": "JQuery",
1380+
"description": "Target element"
1381+
}
1382+
}
12411383
},
12421384
"decorator/form": {
12431385
"dir": "src/decorators/form",

0 commit comments

Comments
 (0)