-
Notifications
You must be signed in to change notification settings - Fork 1
/
DOCS en-US25.0cb71eee40c7d7b6716e.js
1054 lines (871 loc) · 63.1 KB
/
DOCS en-US25.0cb71eee40c7d7b6716e.js
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
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[19],{
/***/ 780:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.esm-browser.prod.js
var vue_esm_browser_prod = __webpack_require__(0);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist/templateLoader.js??ref--6!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/en-US/dropdown.md?vue&type=template&id=7591beb2
const dropdownvue_type_template_id_7591beb2_hoisted_1 = {
class: "content element-doc"
};
const dropdownvue_type_template_id_7591beb2_hoisted_2 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Dropdown ");
const dropdownvue_type_template_id_7591beb2_hoisted_3 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Toggleable menu for displaying lists of links and actions.", -1);
const dropdownvue_type_template_id_7591beb2_hoisted_4 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Basic usage ");
const dropdownvue_type_template_id_7591beb2_hoisted_5 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Hover on the dropdown menu to unfold it for more actions.", -1);
const dropdownvue_type_template_id_7591beb2_hoisted_6 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("The triggering element is rendered by the default "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "slot"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", and the dropdown part is rendered by the "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "slot"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" named "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "dropdown"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(". By default, dropdown list shows when you hover on the triggering element without having to click it.")])], -1);
const dropdownvue_type_template_id_7591beb2_hoisted_7 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-dropdown>\n <span class=\"el-dropdown-link\">\n Dropdown List<i class=\"el-icon-arrow-down el-icon--right\"></i>\n </span>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item>Action 1</el-dropdown-item>\n <el-dropdown-item>Action 2</el-dropdown-item>\n <el-dropdown-item>Action 3</el-dropdown-item>\n <el-dropdown-item disabled>Action 4</el-dropdown-item>\n <el-dropdown-item divided>Action 5</el-dropdown-item>\n </el-dropdown-menu>\n </template>\n</el-dropdown>\n\n<style>\n .el-dropdown-link {\n cursor: pointer;\n color: #409eff;\n }\n .el-icon-arrow-down {\n font-size: 12px;\n }\n</style>\n")], -1);
const dropdownvue_type_template_id_7591beb2_hoisted_8 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Triggering element ");
const dropdownvue_type_template_id_7591beb2_hoisted_9 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Use the button to trigger the dropdown list.", -1);
const dropdownvue_type_template_id_7591beb2_hoisted_10 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Use "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "split-button"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" to split the triggering element into a button group with the left button being a normal button and right one the actual triggering target. If you wanna insert a separator line between item three and item four, just add a class "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "divider"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" to item four.")])], -1);
const dropdownvue_type_template_id_7591beb2_hoisted_11 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-dropdown>\n <el-button type=\"primary\">\n Dropdown List<i class=\"el-icon-arrow-down el-icon--right\"></i>\n </el-button>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item>Action 1</el-dropdown-item>\n <el-dropdown-item>Action 2</el-dropdown-item>\n <el-dropdown-item>Action 3</el-dropdown-item>\n <el-dropdown-item>Action 4</el-dropdown-item>\n <el-dropdown-item>Action 5</el-dropdown-item>\n </el-dropdown-menu>\n </template>\n</el-dropdown>\n<el-dropdown split-button type=\"primary\" @click=\"handleClick\">\n Dropdown List\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item>Action 1</el-dropdown-item>\n <el-dropdown-item>Action 2</el-dropdown-item>\n <el-dropdown-item>Action 3</el-dropdown-item>\n <el-dropdown-item>Action 4</el-dropdown-item>\n <el-dropdown-item>Action 5</el-dropdown-item>\n </el-dropdown-menu>\n </template>\n</el-dropdown>\n\n<style>\n .el-dropdown {\n vertical-align: top;\n }\n .el-dropdown + .el-dropdown {\n margin-left: 15px;\n }\n .el-icon-arrow-down {\n font-size: 12px;\n }\n</style>\n\n<script>\n export default {\n methods: {\n handleClick() {\n alert('button click')\n },\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent } from 'vue';\n\n export default defineComponent({\n setup() {\n const handleClick = () => {\n alert('button click');\n };\n return {\n handleClick,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const dropdownvue_type_template_id_7591beb2_hoisted_12 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("How to trigger ");
const dropdownvue_type_template_id_7591beb2_hoisted_13 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Click the triggering element or hover on it.", -1);
const dropdownvue_type_template_id_7591beb2_hoisted_14 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Use the attribute "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "trigger"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(". By default, it is "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "hover"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(".")])], -1);
const dropdownvue_type_template_id_7591beb2_hoisted_15 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-row class=\"block-col-2\">\n <el-col :span=\"8\">\n <span class=\"demonstration\">hover to trigger</span>\n <el-dropdown>\n <span class=\"el-dropdown-link\">\n Dropdown List<i class=\"el-icon-arrow-down el-icon--right\"></i>\n </span>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item icon=\"el-icon-plus\">Action 1</el-dropdown-item>\n <el-dropdown-item icon=\"el-icon-circle-plus\"\n >Action 2</el-dropdown-item\n >\n <el-dropdown-item icon=\"el-icon-circle-plus-outline\"\n >Action 3</el-dropdown-item\n >\n <el-dropdown-item icon=\"el-icon-check\">Action 4</el-dropdown-item>\n <el-dropdown-item icon=\"el-icon-circle-check\"\n >Action 5</el-dropdown-item\n >\n </el-dropdown-menu>\n </template>\n </el-dropdown>\n </el-col>\n <el-col :span=\"8\">\n <span class=\"demonstration\">click to trigger</span>\n <el-dropdown trigger=\"click\">\n <span class=\"el-dropdown-link\">\n Dropdown List<i class=\"el-icon-arrow-down el-icon--right\"></i>\n </span>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item icon=\"el-icon-plus\">Action 1</el-dropdown-item>\n <el-dropdown-item icon=\"el-icon-circle-plus\"\n >Action 2</el-dropdown-item\n >\n <el-dropdown-item icon=\"el-icon-circle-plus-outline\"\n >Action 3</el-dropdown-item\n >\n <el-dropdown-item icon=\"el-icon-check\">Action 4</el-dropdown-item>\n <el-dropdown-item icon=\"el-icon-circle-check\"\n >Action 5</el-dropdown-item\n >\n </el-dropdown-menu>\n </template>\n </el-dropdown>\n </el-col>\n <el-col :span=\"8\">\n <span class=\"demonstration\">right click to trigger</span>\n <el-dropdown trigger=\"contextmenu\">\n <span class=\"el-dropdown-link\">\n Dropdown List<i class=\"el-icon-arrow-down el-icon--right\"></i>\n </span>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item icon=\"el-icon-plus\">Action 1</el-dropdown-item>\n <el-dropdown-item icon=\"el-icon-circle-plus\"\n >Action 2</el-dropdown-item\n >\n <el-dropdown-item icon=\"el-icon-circle-plus-outline\"\n >Action 3</el-dropdown-item\n >\n <el-dropdown-item icon=\"el-icon-check\">Action 4</el-dropdown-item>\n <el-dropdown-item icon=\"el-icon-circle-check\"\n >Action 5</el-dropdown-item\n >\n </el-dropdown-menu>\n </template>\n </el-dropdown>\n </el-col>\n</el-row>\n\n<style>\n .el-dropdown-link {\n cursor: pointer;\n color: #409eff;\n }\n .el-icon-arrow-down {\n font-size: 12px;\n }\n .demonstration {\n display: block;\n color: var(--el-text-color-secondary);\n font-size: 14px;\n margin-bottom: 20px;\n }\n</style>\n")], -1);
const dropdownvue_type_template_id_7591beb2_hoisted_16 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Menu hiding behavior ");
const dropdownvue_type_template_id_7591beb2_hoisted_17 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Use "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "hide-on-click"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" to define if menu closes on clicking.")], -1);
const dropdownvue_type_template_id_7591beb2_hoisted_18 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "By default menu will close when you click on menu items, and it can be turned off by setting hide-on-click to false.")], -1);
const dropdownvue_type_template_id_7591beb2_hoisted_19 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-dropdown :hide-on-click=\"false\">\n <span class=\"el-dropdown-link\">\n Dropdown List<i class=\"el-icon-arrow-down el-icon--right\"></i>\n </span>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item>Action 1</el-dropdown-item>\n <el-dropdown-item>Action 2</el-dropdown-item>\n <el-dropdown-item>Action 3</el-dropdown-item>\n <el-dropdown-item disabled>Action 4</el-dropdown-item>\n <el-dropdown-item divided>Action 5</el-dropdown-item>\n </el-dropdown-menu>\n </template>\n</el-dropdown>\n\n<style>\n .el-dropdown-link {\n cursor: pointer;\n color: #409eff;\n }\n .el-icon-arrow-down {\n font-size: 12px;\n }\n</style>\n")], -1);
const dropdownvue_type_template_id_7591beb2_hoisted_20 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Command event ");
const dropdownvue_type_template_id_7591beb2_hoisted_21 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Clicking each dropdown item fires an event whose parameter is assigned by each item.", -1);
const _hoisted_22 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-dropdown @command=\"handleCommand\">\n <span class=\"el-dropdown-link\">\n Dropdown List<i class=\"el-icon-arrow-down el-icon--right\"></i>\n </span>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item command=\"a\">Action 1</el-dropdown-item>\n <el-dropdown-item command=\"b\">Action 2</el-dropdown-item>\n <el-dropdown-item command=\"c\">Action 3</el-dropdown-item>\n <el-dropdown-item command=\"d\" disabled>Action 4</el-dropdown-item>\n <el-dropdown-item command=\"e\" divided>Action 5</el-dropdown-item>\n </el-dropdown-menu>\n </template>\n</el-dropdown>\n\n<style>\n .el-dropdown-link {\n cursor: pointer;\n color: #409eff;\n }\n .el-icon-arrow-down {\n font-size: 12px;\n }\n</style>\n\n<script>\n export default {\n methods: {\n handleCommand(command) {\n this.$message('click on item ' + command)\n },\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent } from 'vue';\n import { ElMessage } from 'element-plus';\n\n export default defineComponent({\n setup() {\n\n const handleCommand = (command) => {\n ElMessage(`click on item ${command}`);\n };\n return {\n handleCommand,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_23 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Sizes ");
const _hoisted_24 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Besides default size, Dropdown component provides three additional sizes for you to choose among different scenarios.", -1);
const _hoisted_25 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Use attribute "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "size"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" to set additional sizes with "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "medium"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "small"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" or "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "mini"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(".")])], -1);
const _hoisted_26 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-dropdown split-button type=\"primary\">\n Default\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item>Action 1</el-dropdown-item>\n <el-dropdown-item>Action 2</el-dropdown-item>\n <el-dropdown-item>Action 3</el-dropdown-item>\n <el-dropdown-item>Action 4</el-dropdown-item>\n </el-dropdown-menu>\n </template>\n</el-dropdown>\n\n<el-dropdown size=\"medium\" split-button type=\"primary\">\n Medium\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item>Action 1</el-dropdown-item>\n <el-dropdown-item>Action 2</el-dropdown-item>\n <el-dropdown-item>Action 3</el-dropdown-item>\n <el-dropdown-item>Action 4</el-dropdown-item>\n </el-dropdown-menu>\n </template>\n</el-dropdown>\n\n<el-dropdown size=\"small\" split-button type=\"primary\">\n Small\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item>Action 1</el-dropdown-item>\n <el-dropdown-item>Action 2</el-dropdown-item>\n <el-dropdown-item>Action 3</el-dropdown-item>\n <el-dropdown-item>Action 4</el-dropdown-item>\n </el-dropdown-menu>\n </template>\n</el-dropdown>\n\n<el-dropdown size=\"mini\" split-button type=\"primary\">\n Mini\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item>Action 1</el-dropdown-item>\n <el-dropdown-item>Action 2</el-dropdown-item>\n <el-dropdown-item>Action 3</el-dropdown-item>\n <el-dropdown-item>Action 4</el-dropdown-item>\n </el-dropdown-menu>\n </template>\n</el-dropdown>\n")], -1);
const _hoisted_27 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Dropdown Attributes ");
const _hoisted_28 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("thead", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Attribute"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Description"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Type"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Accepted Values"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Default")])], -1);
const _hoisted_29 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "type"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("menu button type, refer to "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "Button"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" Component, only works when "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "split-button"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" is true")]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_30 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "size"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "menu size, also works on the split button"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "medium / small / mini"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_31 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "max-height"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "the max height of menu"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string / number"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_32 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "split-button"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "whether a button group is displayed"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "boolean"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "false")], -1);
const _hoisted_33 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "disabled"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "Whether to disable"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "boolean"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "false")], -1);
const _hoisted_34 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "placement"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "placement of pop menu"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "top/top-start/top-end/bottom/bottom-start/bottom-end"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "bottom")], -1);
const _hoisted_35 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "trigger"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "how to trigger"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "hover/click/contextmenu"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "hover")], -1);
const _hoisted_36 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "hide-on-click"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "whether to hide menu after clicking menu-item"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "boolean"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "true")], -1);
const _hoisted_37 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "show-timeout"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Delay time before show a dropdown (only works when trigger is "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "hover"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(")")]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "number"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "250")], -1);
const _hoisted_38 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "hide-timeout"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Delay time before hide a dropdown (only works when trigger is "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "hover"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(")")]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "number"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "150")], -1);
const _hoisted_39 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "tabindex", -1);
const _hoisted_40 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("tabindex");
const _hoisted_41 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" of Dropdown");
const _hoisted_42 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "number", -1);
const _hoisted_43 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—", -1);
const _hoisted_44 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "0", -1);
const _hoisted_45 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Dropdown Slots ");
const _hoisted_46 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td>—</td><td>content of Dropdown. Notice: Must be a valid html dom element (ex. <code><span>, <button> etc.</code>) or <code>el-component</code>, to attach the trigger listener</td></tr><tr><td>dropdown</td><td>content of the Dropdown Menu, usually a <code><el-dropdown-menu></code> element</td></tr></tbody></table>", 1);
const _hoisted_47 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Dropdown Events ");
const _hoisted_48 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Event Name</th><th>Description</th><th>Parameters</th></tr></thead><tbody><tr><td>click</td><td>if <code>split-button</code> is <code>true</code>, triggers when left button is clicked</td><td>—</td></tr><tr><td>command</td><td>triggers when a dropdown item is clicked</td><td>the command dispatched from the dropdown item</td></tr><tr><td>visible-change</td><td>triggers when the dropdown appears/disappears</td><td>true when it appears, and false otherwise</td></tr></tbody></table>", 1);
const _hoisted_49 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Dropdown-Menu Slots ");
const _hoisted_50 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("table", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("thead", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Name"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Description")])]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tbody", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "content of Dropdown Menu")])])], -1);
const _hoisted_51 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Dropdown-Item Attributes ");
const _hoisted_52 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Attribute</th><th>Description</th><th>Type</th><th>Accepted Values</th><th>Default</th></tr></thead><tbody><tr><td>command</td><td>a command to be dispatched to Dropdown's <code>command</code> callback</td><td>string/number/object</td><td>—</td><td>—</td></tr><tr><td>disabled</td><td>whether the item is disabled</td><td>boolean</td><td>—</td><td>false</td></tr><tr><td>divided</td><td>whether a divider is displayed</td><td>boolean</td><td>—</td><td>false</td></tr><tr><td>icon</td><td>icon class name</td><td>string</td><td>—</td><td>—</td></tr></tbody></table>", 1);
function dropdownvue_type_template_id_7591beb2_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_app_link = Object(vue_esm_browser_prod["resolveComponent"])("app-link");
const _component_app_heading = Object(vue_esm_browser_prod["resolveComponent"])("app-heading");
const _component_element_demo0 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo0");
const _component_demo_block = Object(vue_esm_browser_prod["resolveComponent"])("demo-block");
const _component_element_demo1 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo1");
const _component_element_demo2 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo2");
const _component_element_demo3 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo3");
const _component_element_demo4 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo4");
const _component_element_demo5 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo5");
const _component_right_nav = Object(vue_esm_browser_prod["resolveComponent"])("right-nav");
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createElementBlock"])("section", dropdownvue_type_template_id_7591beb2_hoisted_1, [Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "dropdown",
content: "Dropdown",
href: "#dropdown",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_2, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#dropdown"
})]),
_: 1
}), dropdownvue_type_template_id_7591beb2_hoisted_3, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "basic-usage",
content: "Basic usage",
href: "#basic-usage",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_4, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#basic-usage"
})]),
_: 1
}), dropdownvue_type_template_id_7591beb2_hoisted_5, Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo0)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_7]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_6]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "triggering-element",
content: "Triggering element",
href: "#triggering-element",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_8, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#triggering-element"
})]),
_: 1
}), dropdownvue_type_template_id_7591beb2_hoisted_9, Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo1)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_11]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_10]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "how-to-trigger",
content: "How to trigger",
href: "#how-to-trigger",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_12, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#how-to-trigger"
})]),
_: 1
}), dropdownvue_type_template_id_7591beb2_hoisted_13, Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo2)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_15]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_14]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "menu-hiding-behavior",
content: "Menu hiding behavior",
href: "#menu-hiding-behavior",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_16, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#menu-hiding-behavior"
})]),
_: 1
}), dropdownvue_type_template_id_7591beb2_hoisted_17, Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo3)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_19]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_18]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "command-event",
content: "Command event",
href: "#command-event",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [dropdownvue_type_template_id_7591beb2_hoisted_20, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#command-event"
})]),
_: 1
}), dropdownvue_type_template_id_7591beb2_hoisted_21, Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo4)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_22]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "sizes",
content: "Sizes",
href: "#sizes",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_23, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#sizes"
})]),
_: 1
}), _hoisted_24, Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo5)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_26]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_25]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "dropdown-attributes",
content: "Dropdown Attributes",
href: "#dropdown-attributes",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_27, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#dropdown-attributes"
})]),
_: 1
}), Object(vue_esm_browser_prod["createElementVNode"])("table", null, [_hoisted_28, Object(vue_esm_browser_prod["createElementVNode"])("tbody", null, [_hoisted_29, _hoisted_30, _hoisted_31, _hoisted_32, _hoisted_33, _hoisted_34, _hoisted_35, _hoisted_36, _hoisted_37, _hoisted_38, Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [_hoisted_39, Object(vue_esm_browser_prod["createElementVNode"])("td", null, [Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_40]),
_: 1
}), _hoisted_41]), _hoisted_42, _hoisted_43, _hoisted_44])])]), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "dropdown-slots",
content: "Dropdown Slots",
href: "#dropdown-slots",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_45, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#dropdown-slots"
})]),
_: 1
}), _hoisted_46, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "dropdown-events",
content: "Dropdown Events",
href: "#dropdown-events",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_47, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#dropdown-events"
})]),
_: 1
}), _hoisted_48, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "dropdown-menu-slots",
content: "Dropdown-Menu Slots",
href: "#dropdown-menu-slots",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_49, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#dropdown-menu-slots"
})]),
_: 1
}), _hoisted_50, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "dropdown-item-attributes",
content: "Dropdown-Item Attributes",
href: "#dropdown-item-attributes",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_51, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#dropdown-item-attributes"
})]),
_: 1
}), _hoisted_52, Object(vue_esm_browser_prod["createVNode"])(_component_right_nav)]);
}
// CONCATENATED MODULE: ./website/docs/en-US/dropdown.md?vue&type=template&id=7591beb2
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/en-US/dropdown.md?vue&type=script&lang=ts
/* harmony default export */ var dropdownvue_type_script_lang_ts = ({
name: 'component-doc',
components: {
"element-demo0": function () {
const {
createElementVNode: _createElementVNode,
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("span", {
class: "el-dropdown-link"
}, [/*#__PURE__*/_createTextVNode(" Dropdown List"), /*#__PURE__*/_createElementVNode("i", {
class: "el-icon-arrow-down el-icon--right"
})], -1);
const _hoisted_2 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_3 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_4 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_5 = /*#__PURE__*/_createTextVNode("Action 4");
const _hoisted_6 = /*#__PURE__*/_createTextVNode("Action 5");
function render(_ctx, _cache) {
const _component_el_dropdown_item = _resolveComponent("el-dropdown-item");
const _component_el_dropdown_menu = _resolveComponent("el-dropdown-menu");
const _component_el_dropdown = _resolveComponent("el-dropdown");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_dropdown, null, {
dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, null, {
default: _withCtx(() => [_createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_2]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_3]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_4]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
disabled: ""
}, {
default: _withCtx(() => [_hoisted_5]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
divided: ""
}, {
default: _withCtx(() => [_hoisted_6]),
_: 1
})]),
_: 1
})]),
default: _withCtx(() => [_hoisted_1]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo1": function () {
const {
createElementVNode: _createElementVNode,
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createTextVNode(" Dropdown List");
const _hoisted_2 = /*#__PURE__*/_createElementVNode("i", {
class: "el-icon-arrow-down el-icon--right"
}, null, -1);
const _hoisted_3 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_4 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_5 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_6 = /*#__PURE__*/_createTextVNode("Action 4");
const _hoisted_7 = /*#__PURE__*/_createTextVNode("Action 5");
const _hoisted_8 = /*#__PURE__*/_createTextVNode(" Dropdown List ");
const _hoisted_9 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_10 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_11 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_12 = /*#__PURE__*/_createTextVNode("Action 4");
const _hoisted_13 = /*#__PURE__*/_createTextVNode("Action 5");
function render(_ctx, _cache) {
const _component_el_button = _resolveComponent("el-button");
const _component_el_dropdown_item = _resolveComponent("el-dropdown-item");
const _component_el_dropdown_menu = _resolveComponent("el-dropdown-menu");
const _component_el_dropdown = _resolveComponent("el-dropdown");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_dropdown, null, {
dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, null, {
default: _withCtx(() => [_createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_3]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_4]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_5]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_6]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_7]),
_: 1
})]),
_: 1
})]),
default: _withCtx(() => [_createVNode(_component_el_button, {
type: "primary"
}, {
default: _withCtx(() => [_hoisted_1, _hoisted_2]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_dropdown, {
"split-button": "",
type: "primary",
onClick: _ctx.handleClick
}, {
dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, null, {
default: _withCtx(() => [_createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_9]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_10]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_11]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_12]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_13]),
_: 1
})]),
_: 1
})]),
default: _withCtx(() => [_hoisted_8]),
_: 1
}, 8, ["onClick"])]);
}
const democomponentExport = {
methods: {
handleClick() {
alert('button click');
}
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo2": function () {
const {
createElementVNode: _createElementVNode,
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "hover to trigger", -1);
const _hoisted_2 = /*#__PURE__*/_createElementVNode("span", {
class: "el-dropdown-link"
}, [/*#__PURE__*/_createTextVNode(" Dropdown List"), /*#__PURE__*/_createElementVNode("i", {
class: "el-icon-arrow-down el-icon--right"
})], -1);
const _hoisted_3 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_4 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_5 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_6 = /*#__PURE__*/_createTextVNode("Action 4");
const _hoisted_7 = /*#__PURE__*/_createTextVNode("Action 5");
const _hoisted_8 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "click to trigger", -1);
const _hoisted_9 = /*#__PURE__*/_createElementVNode("span", {
class: "el-dropdown-link"
}, [/*#__PURE__*/_createTextVNode(" Dropdown List"), /*#__PURE__*/_createElementVNode("i", {
class: "el-icon-arrow-down el-icon--right"
})], -1);
const _hoisted_10 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_11 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_12 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_13 = /*#__PURE__*/_createTextVNode("Action 4");
const _hoisted_14 = /*#__PURE__*/_createTextVNode("Action 5");
const _hoisted_15 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "right click to trigger", -1);
const _hoisted_16 = /*#__PURE__*/_createElementVNode("span", {
class: "el-dropdown-link"
}, [/*#__PURE__*/_createTextVNode(" Dropdown List"), /*#__PURE__*/_createElementVNode("i", {
class: "el-icon-arrow-down el-icon--right"
})], -1);
const _hoisted_17 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_18 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_19 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_20 = /*#__PURE__*/_createTextVNode("Action 4");
const _hoisted_21 = /*#__PURE__*/_createTextVNode("Action 5");
function render(_ctx, _cache) {
const _component_el_dropdown_item = _resolveComponent("el-dropdown-item");
const _component_el_dropdown_menu = _resolveComponent("el-dropdown-menu");
const _component_el_dropdown = _resolveComponent("el-dropdown");
const _component_el_col = _resolveComponent("el-col");
const _component_el_row = _resolveComponent("el-row");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_row, {
class: "block-col-2"
}, {
default: _withCtx(() => [_createVNode(_component_el_col, {
span: 8
}, {
default: _withCtx(() => [_hoisted_1, _createVNode(_component_el_dropdown, null, {
dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, null, {
default: _withCtx(() => [_createVNode(_component_el_dropdown_item, {
icon: "el-icon-plus"
}, {
default: _withCtx(() => [_hoisted_3]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-circle-plus"
}, {
default: _withCtx(() => [_hoisted_4]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-circle-plus-outline"
}, {
default: _withCtx(() => [_hoisted_5]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-check"
}, {
default: _withCtx(() => [_hoisted_6]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-circle-check"
}, {
default: _withCtx(() => [_hoisted_7]),
_: 1
})]),
_: 1
})]),
default: _withCtx(() => [_hoisted_2]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_col, {
span: 8
}, {
default: _withCtx(() => [_hoisted_8, _createVNode(_component_el_dropdown, {
trigger: "click"
}, {
dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, null, {
default: _withCtx(() => [_createVNode(_component_el_dropdown_item, {
icon: "el-icon-plus"
}, {
default: _withCtx(() => [_hoisted_10]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-circle-plus"
}, {
default: _withCtx(() => [_hoisted_11]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-circle-plus-outline"
}, {
default: _withCtx(() => [_hoisted_12]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-check"
}, {
default: _withCtx(() => [_hoisted_13]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-circle-check"
}, {
default: _withCtx(() => [_hoisted_14]),
_: 1
})]),
_: 1
})]),
default: _withCtx(() => [_hoisted_9]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_col, {
span: 8
}, {
default: _withCtx(() => [_hoisted_15, _createVNode(_component_el_dropdown, {
trigger: "contextmenu"
}, {
dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, null, {
default: _withCtx(() => [_createVNode(_component_el_dropdown_item, {
icon: "el-icon-plus"
}, {
default: _withCtx(() => [_hoisted_17]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-circle-plus"
}, {
default: _withCtx(() => [_hoisted_18]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-circle-plus-outline"
}, {
default: _withCtx(() => [_hoisted_19]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-check"
}, {
default: _withCtx(() => [_hoisted_20]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
icon: "el-icon-circle-check"
}, {
default: _withCtx(() => [_hoisted_21]),
_: 1
})]),
_: 1
})]),
default: _withCtx(() => [_hoisted_16]),
_: 1
})]),
_: 1
})]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo3": function () {
const {
createElementVNode: _createElementVNode,
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("span", {
class: "el-dropdown-link"
}, [/*#__PURE__*/_createTextVNode(" Dropdown List"), /*#__PURE__*/_createElementVNode("i", {
class: "el-icon-arrow-down el-icon--right"
})], -1);
const _hoisted_2 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_3 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_4 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_5 = /*#__PURE__*/_createTextVNode("Action 4");
const _hoisted_6 = /*#__PURE__*/_createTextVNode("Action 5");
function render(_ctx, _cache) {
const _component_el_dropdown_item = _resolveComponent("el-dropdown-item");
const _component_el_dropdown_menu = _resolveComponent("el-dropdown-menu");
const _component_el_dropdown = _resolveComponent("el-dropdown");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_dropdown, {
"hide-on-click": false
}, {
dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, null, {
default: _withCtx(() => [_createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_2]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_3]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_4]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
disabled: ""
}, {
default: _withCtx(() => [_hoisted_5]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
divided: ""
}, {
default: _withCtx(() => [_hoisted_6]),
_: 1
})]),
_: 1
})]),
default: _withCtx(() => [_hoisted_1]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo4": function () {
const {
createElementVNode: _createElementVNode,
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("span", {
class: "el-dropdown-link"
}, [/*#__PURE__*/_createTextVNode(" Dropdown List"), /*#__PURE__*/_createElementVNode("i", {
class: "el-icon-arrow-down el-icon--right"
})], -1);
const _hoisted_2 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_3 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_4 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_5 = /*#__PURE__*/_createTextVNode("Action 4");
const _hoisted_6 = /*#__PURE__*/_createTextVNode("Action 5");
function render(_ctx, _cache) {
const _component_el_dropdown_item = _resolveComponent("el-dropdown-item");
const _component_el_dropdown_menu = _resolveComponent("el-dropdown-menu");
const _component_el_dropdown = _resolveComponent("el-dropdown");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_dropdown, {
onCommand: _ctx.handleCommand
}, {
dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, null, {
default: _withCtx(() => [_createVNode(_component_el_dropdown_item, {
command: "a"
}, {
default: _withCtx(() => [_hoisted_2]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
command: "b"
}, {
default: _withCtx(() => [_hoisted_3]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
command: "c"
}, {
default: _withCtx(() => [_hoisted_4]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
command: "d",
disabled: ""
}, {
default: _withCtx(() => [_hoisted_5]),
_: 1
}), _createVNode(_component_el_dropdown_item, {
command: "e",
divided: ""
}, {
default: _withCtx(() => [_hoisted_6]),
_: 1
})]),
_: 1
})]),
default: _withCtx(() => [_hoisted_1]),
_: 1
}, 8, ["onCommand"])]);
}
const democomponentExport = {
methods: {
handleCommand(command) {
this.$message('click on item ' + command);
}
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo5": function () {
const {
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createTextVNode(" Default ");
const _hoisted_2 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_3 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_4 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_5 = /*#__PURE__*/_createTextVNode("Action 4");
const _hoisted_6 = /*#__PURE__*/_createTextVNode(" Medium ");
const _hoisted_7 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_8 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_9 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_10 = /*#__PURE__*/_createTextVNode("Action 4");
const _hoisted_11 = /*#__PURE__*/_createTextVNode(" Small ");
const _hoisted_12 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_13 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_14 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_15 = /*#__PURE__*/_createTextVNode("Action 4");
const _hoisted_16 = /*#__PURE__*/_createTextVNode(" Mini ");
const _hoisted_17 = /*#__PURE__*/_createTextVNode("Action 1");
const _hoisted_18 = /*#__PURE__*/_createTextVNode("Action 2");
const _hoisted_19 = /*#__PURE__*/_createTextVNode("Action 3");
const _hoisted_20 = /*#__PURE__*/_createTextVNode("Action 4");
function render(_ctx, _cache) {
const _component_el_dropdown_item = _resolveComponent("el-dropdown-item");
const _component_el_dropdown_menu = _resolveComponent("el-dropdown-menu");
const _component_el_dropdown = _resolveComponent("el-dropdown");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_dropdown, {
"split-button": "",
type: "primary"
}, {
dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, null, {
default: _withCtx(() => [_createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_2]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_3]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_4]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_5]),
_: 1
})]),
_: 1
})]),
default: _withCtx(() => [_hoisted_1]),
_: 1
}), _createVNode(_component_el_dropdown, {
size: "medium",
"split-button": "",
type: "primary"
}, {
dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, null, {
default: _withCtx(() => [_createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_7]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_8]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_9]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_10]),
_: 1
})]),
_: 1
})]),
default: _withCtx(() => [_hoisted_6]),
_: 1
}), _createVNode(_component_el_dropdown, {
size: "small",
"split-button": "",
type: "primary"
}, {
dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, null, {
default: _withCtx(() => [_createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_12]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_13]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {
default: _withCtx(() => [_hoisted_14]),
_: 1
}), _createVNode(_component_el_dropdown_item, null, {