-
Notifications
You must be signed in to change notification settings - Fork 1
/
DOCS en-US66.0cb71eee40c7d7b6716e.js
645 lines (520 loc) · 44.5 KB
/
DOCS en-US66.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
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[64],{
/***/ 817:
/***/ (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/tooltip.md?vue&type=template&id=eb2ff8e6
const tooltipvue_type_template_id_eb2ff8e6_hoisted_1 = {
class: "content element-doc"
};
const tooltipvue_type_template_id_eb2ff8e6_hoisted_2 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Tooltip ");
const tooltipvue_type_template_id_eb2ff8e6_hoisted_3 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Display prompt information for mouse hover.", -1);
const tooltipvue_type_template_id_eb2ff8e6_hoisted_4 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Basic usage ");
const tooltipvue_type_template_id_eb2ff8e6_hoisted_5 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Tooltip has 9 placements.", -1);
const tooltipvue_type_template_id_eb2ff8e6_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"])("Use attribute "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "content"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" to set the display content when hover. The attribute "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "placement"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" determines the position of the tooltip. Its value is "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "[orientation]-[alignment]"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" with four orientations "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "top"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "left"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "right"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "bottom"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" and three alignments "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "start"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "end"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "null"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", and the default alignment is null. Take "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "placement=\"left-end\""), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" for example, Tooltip will display on the left of the element which you are hovering and the bottom of the tooltip aligns with the bottom of the element.")])], -1);
const tooltipvue_type_template_id_eb2ff8e6_hoisted_7 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<div class=\"box\">\n <div class=\"top\">\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Top Left prompts info\"\n placement=\"top-start\"\n >\n <el-button>top-start</el-button>\n </el-tooltip>\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Top Center prompts info\"\n placement=\"top\"\n >\n <el-button>top</el-button>\n </el-tooltip>\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Top Right prompts info\"\n placement=\"top-end\"\n >\n <el-button>top-end</el-button>\n </el-tooltip>\n </div>\n <div class=\"left\">\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Left Top prompts info\"\n placement=\"left-start\"\n >\n <el-button>left-start</el-button>\n </el-tooltip>\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Left Center prompts info\"\n placement=\"left\"\n >\n <el-button>left</el-button>\n </el-tooltip>\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Left Bottom prompts info\"\n placement=\"left-end\"\n >\n <el-button>left-end</el-button>\n </el-tooltip>\n </div>\n\n <div class=\"right\">\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Right Top prompts info\"\n placement=\"right-start\"\n >\n <el-button>right-start</el-button>\n </el-tooltip>\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Right Center prompts info\"\n placement=\"right\"\n >\n <el-button>right</el-button>\n </el-tooltip>\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Right Bottom prompts info\"\n placement=\"right-end\"\n >\n <el-button>right-end</el-button>\n </el-tooltip>\n </div>\n <div class=\"bottom\">\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Bottom Left prompts info\"\n placement=\"bottom-start\"\n >\n <el-button>bottom-start</el-button>\n </el-tooltip>\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Bottom Center prompts info\"\n placement=\"bottom\"\n >\n <el-button>bottom</el-button>\n </el-tooltip>\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n content=\"Bottom Right prompts info\"\n placement=\"bottom-end\"\n >\n <el-button>bottom-end</el-button>\n </el-tooltip>\n </div>\n</div>\n\n<style>\n .box {\n width: 400px;\n\n .top {\n text-align: center;\n }\n\n .left {\n float: left;\n width: 110px;\n }\n\n .right {\n float: right;\n width: 110px;\n }\n\n .bottom {\n clear: both;\n text-align: center;\n }\n\n .item {\n margin: 4px;\n }\n\n .left .el-tooltip__popper,\n .right .el-tooltip__popper {\n padding: 8px 10px;\n }\n\n .el-button {\n width: 110px;\n }\n }\n</style>\n")], -1);
const tooltipvue_type_template_id_eb2ff8e6_hoisted_8 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Theme ");
const tooltipvue_type_template_id_eb2ff8e6_hoisted_9 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Tooltip has two themes: "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "dark"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" and "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "light"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("。")], -1);
const tooltipvue_type_template_id_eb2ff8e6_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"])("Set "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "effect"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" to modify theme, and the default value is "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "dark"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(".")])], -1);
const tooltipvue_type_template_id_eb2ff8e6_hoisted_11 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-tooltip content=\"Top center\" placement=\"top\">\n <el-button>Dark</el-button>\n</el-tooltip>\n<el-tooltip content=\"Bottom center\" placement=\"bottom\" effect=\"light\">\n <el-button>Light</el-button>\n</el-tooltip>\n")], -1);
const tooltipvue_type_template_id_eb2ff8e6_hoisted_12 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("More Content ");
const tooltipvue_type_template_id_eb2ff8e6_hoisted_13 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Display multiple lines of text and set their format.", -1);
const tooltipvue_type_template_id_eb2ff8e6_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"])("Override attribute "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "content"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" of "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "el-tooltip"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" by adding a slot named "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "content"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(".")])], -1);
const tooltipvue_type_template_id_eb2ff8e6_hoisted_15 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-tooltip placement=\"top\">\n <template #content> multiple lines<br />second line </template>\n <el-button>Top center</el-button>\n</el-tooltip>\n")], -1);
const tooltipvue_type_template_id_eb2ff8e6_hoisted_16 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Advanced usage ");
const tooltipvue_type_template_id_eb2ff8e6_hoisted_17 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "In addition to basic usages, there are some attributes that allow you to customize your own:", -1);
const _hoisted_18 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "transition"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" attribute allows you to customize the animation in which the tooltip shows or hides, and the default value is el-fade-in-linear.")], -1);
const _hoisted_19 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "disabled"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" attribute allows you to disable "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "tooltip"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(". You just need set it to "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "true"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(".")], -1);
const _hoisted_20 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("In fact, Tooltip is an extension based on ");
const _hoisted_21 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Vue-popper");
const _hoisted_22 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", you can use any attribute that are allowed in Vue-popper.");
const _hoisted_23 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <el-tooltip\n :disabled=\"disabled\"\n content=\"click to close tooltip function\"\n placement=\"bottom\"\n effect=\"light\"\n >\n <el-button @click=\"disabled = !disabled\"\n >click to {{disabled ? 'active' : 'close'}} tooltip function</el-button\n >\n </el-tooltip>\n</template>\n\n<script>\n export default {\n data() {\n return {\n disabled: false,\n }\n },\n }\n</script>\n\n<style>\n .slide-fade-enter-active {\n transition: all 0.3s ease;\n }\n .slide-fade-leave-active {\n transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);\n }\n .slide-fade-enter,\n .expand-fade-leave-active {\n margin-left: 20px;\n opacity: 0;\n }\n</style>\n")], -1);
const _hoisted_24 = {
class: "tip"
};
const _hoisted_25 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("The "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "router-link"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" component is not supported in tooltip, please use "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "vm.$router.push"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(".")], -1);
const _hoisted_26 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Disabled form elements are not supported for Tooltip, more information can be found at ");
const _hoisted_27 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("MDN");
const _hoisted_28 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(". You need to wrap the disabled form element with a container element for Tooltip to work.");
const _hoisted_29 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Attributes ");
const _hoisted_30 = /*#__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_31 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "append-to-body"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("whether to append Dialog itself to body. A nested Dialog should have this attribute set to "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "true")]), /*#__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_32 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "effect"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "Tooltip theme"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "dark/light"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "dark")], -1);
const _hoisted_33 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "content"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("display content, can be overridden by "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "slot#content")]), /*#__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_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, "position of Tooltip"), /*#__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/left/left-start/left-end/right/right-start/right-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, "model-value / v-model"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "visibility of Tooltip"), /*#__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_36 = /*#__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 Tooltip is disabled"), /*#__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_37 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "offset"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "offset of the Tooltip"), /*#__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, "0")], -1);
const _hoisted_38 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "transition"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "animation name"), /*#__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, "el-fade-in-linear")], -1);
const _hoisted_39 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "visible-arrow", -1);
const _hoisted_40 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("whether an arrow is displayed. For more information, check ");
const _hoisted_41 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Vue-popper");
const _hoisted_42 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" page");
const _hoisted_43 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "boolean", -1);
const _hoisted_44 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—", -1);
const _hoisted_45 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "true", -1);
const _hoisted_46 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "popper-options", -1);
const _hoisted_47 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("popper.js");
const _hoisted_48 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" parameters");
const _hoisted_49 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "Object", -1);
const _hoisted_50 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("refer to ");
const _hoisted_51 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("popper.js");
const _hoisted_52 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" doc");
const _hoisted_53 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "{ boundariesElement: 'body', gpuAcceleration: false }")], -1);
const _hoisted_54 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "show-after"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "delay of appearance, in millisecond"), /*#__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, "0")], -1);
const _hoisted_55 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "hide-after"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "delay of disappear, in millisecond"), /*#__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, "0")], -1);
const _hoisted_56 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "auto-close"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "timeout in milliseconds to hide tooltip"), /*#__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, "0")], -1);
const _hoisted_57 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "manual"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("whether to control Tooltip manually. "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "mouseenter"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" and "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "mouseleave"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" won't have effects if set to "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "true")]), /*#__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_58 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "popper-class"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "custom class name for Tooltip's popper"), /*#__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_59 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "enterable"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "whether the mouse can enter the tooltip"), /*#__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_60 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "tabindex", -1);
const _hoisted_61 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("tabindex");
const _hoisted_62 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" of Tooltip");
const _hoisted_63 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "number", -1);
const _hoisted_64 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—", -1);
const _hoisted_65 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "0", -1);
function tooltipvue_type_template_id_eb2ff8e6_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_right_nav = Object(vue_esm_browser_prod["resolveComponent"])("right-nav");
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createElementBlock"])("section", tooltipvue_type_template_id_eb2ff8e6_hoisted_1, [Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "tooltip",
content: "Tooltip",
href: "#tooltip",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [tooltipvue_type_template_id_eb2ff8e6_hoisted_2, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#tooltip"
})]),
_: 1
}), tooltipvue_type_template_id_eb2ff8e6_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"])(() => [tooltipvue_type_template_id_eb2ff8e6_hoisted_4, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#basic-usage"
})]),
_: 1
}), tooltipvue_type_template_id_eb2ff8e6_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"])(() => [tooltipvue_type_template_id_eb2ff8e6_hoisted_7]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [tooltipvue_type_template_id_eb2ff8e6_hoisted_6]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "theme",
content: "Theme",
href: "#theme",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [tooltipvue_type_template_id_eb2ff8e6_hoisted_8, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#theme"
})]),
_: 1
}), tooltipvue_type_template_id_eb2ff8e6_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"])(() => [tooltipvue_type_template_id_eb2ff8e6_hoisted_11]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [tooltipvue_type_template_id_eb2ff8e6_hoisted_10]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "more-content",
content: "More Content",
href: "#more-content",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [tooltipvue_type_template_id_eb2ff8e6_hoisted_12, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#more-content"
})]),
_: 1
}), tooltipvue_type_template_id_eb2ff8e6_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"])(() => [tooltipvue_type_template_id_eb2ff8e6_hoisted_15]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [tooltipvue_type_template_id_eb2ff8e6_hoisted_14]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "advanced-usage",
content: "Advanced usage",
href: "#advanced-usage",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [tooltipvue_type_template_id_eb2ff8e6_hoisted_16, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#advanced-usage"
})]),
_: 1
}), tooltipvue_type_template_id_eb2ff8e6_hoisted_17, _hoisted_18, _hoisted_19, Object(vue_esm_browser_prod["createElementVNode"])("p", null, [_hoisted_20, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://github.com/element-component/vue-popper"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_21]),
_: 1
}), _hoisted_22]), 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"])(() => [_hoisted_23]),
_: 1
}), Object(vue_esm_browser_prod["createElementVNode"])("div", _hoisted_24, [_hoisted_25, Object(vue_esm_browser_prod["createElementVNode"])("p", null, [_hoisted_26, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://developer.mozilla.org/en-US/docs/Web/Events/mouseenter"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_27]),
_: 1
}), _hoisted_28])]), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "attributes",
content: "Attributes",
href: "#attributes",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_29, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#attributes"
})]),
_: 1
}), Object(vue_esm_browser_prod["createElementVNode"])("table", null, [_hoisted_30, Object(vue_esm_browser_prod["createElementVNode"])("tbody", null, [_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, [_hoisted_40, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://github.com/element-component/vue-popper"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_41]),
_: 1
}), _hoisted_42]), _hoisted_43, _hoisted_44, _hoisted_45]), Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [_hoisted_46, Object(vue_esm_browser_prod["createElementVNode"])("td", null, [Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://popper.js.org/documentation.html"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_47]),
_: 1
}), _hoisted_48]), _hoisted_49, Object(vue_esm_browser_prod["createElementVNode"])("td", null, [_hoisted_50, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://popper.js.org/documentation.html"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_51]),
_: 1
}), _hoisted_52]), _hoisted_53]), _hoisted_54, _hoisted_55, _hoisted_56, _hoisted_57, _hoisted_58, _hoisted_59, Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [_hoisted_60, 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_61]),
_: 1
}), _hoisted_62]), _hoisted_63, _hoisted_64, _hoisted_65])])]), Object(vue_esm_browser_prod["createVNode"])(_component_right_nav)]);
}
// CONCATENATED MODULE: ./website/docs/en-US/tooltip.md?vue&type=template&id=eb2ff8e6
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/en-US/tooltip.md?vue&type=script&lang=ts
/* harmony default export */ var tooltipvue_type_script_lang_ts = ({
name: 'component-doc',
components: {
"element-demo0": function () {
const {
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
createElementVNode: _createElementVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = {
class: "box"
};
const _hoisted_2 = {
class: "top"
};
const _hoisted_3 = /*#__PURE__*/_createTextVNode("top-start");
const _hoisted_4 = /*#__PURE__*/_createTextVNode("top");
const _hoisted_5 = /*#__PURE__*/_createTextVNode("top-end");
const _hoisted_6 = {
class: "left"
};
const _hoisted_7 = /*#__PURE__*/_createTextVNode("left-start");
const _hoisted_8 = /*#__PURE__*/_createTextVNode("left");
const _hoisted_9 = /*#__PURE__*/_createTextVNode("left-end");
const _hoisted_10 = {
class: "right"
};
const _hoisted_11 = /*#__PURE__*/_createTextVNode("right-start");
const _hoisted_12 = /*#__PURE__*/_createTextVNode("right");
const _hoisted_13 = /*#__PURE__*/_createTextVNode("right-end");
const _hoisted_14 = {
class: "bottom"
};
const _hoisted_15 = /*#__PURE__*/_createTextVNode("bottom-start");
const _hoisted_16 = /*#__PURE__*/_createTextVNode("bottom");
const _hoisted_17 = /*#__PURE__*/_createTextVNode("bottom-end");
function render(_ctx, _cache) {
const _component_el_button = _resolveComponent("el-button");
const _component_el_tooltip = _resolveComponent("el-tooltip");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", _hoisted_1, [_createElementVNode("div", _hoisted_2, [_createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Top Left prompts info",
placement: "top-start"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_3]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Top Center prompts info",
placement: "top"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_4]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Top Right prompts info",
placement: "top-end"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_5]),
_: 1
})]),
_: 1
})]), _createElementVNode("div", _hoisted_6, [_createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Left Top prompts info",
placement: "left-start"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_7]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Left Center prompts info",
placement: "left"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_8]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Left Bottom prompts info",
placement: "left-end"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_9]),
_: 1
})]),
_: 1
})]), _createElementVNode("div", _hoisted_10, [_createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Right Top prompts info",
placement: "right-start"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_11]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Right Center prompts info",
placement: "right"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_12]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Right Bottom prompts info",
placement: "right-end"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_13]),
_: 1
})]),
_: 1
})]), _createElementVNode("div", _hoisted_14, [_createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Bottom Left prompts info",
placement: "bottom-start"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_15]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Bottom Center prompts info",
placement: "bottom"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_16]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_tooltip, {
class: "item",
effect: "dark",
content: "Bottom Right prompts info",
placement: "bottom-end"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_17]),
_: 1
})]),
_: 1
})])])]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo1": function () {
const {
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createTextVNode("Dark");
const _hoisted_2 = /*#__PURE__*/_createTextVNode("Light");
function render(_ctx, _cache) {
const _component_el_button = _resolveComponent("el-button");
const _component_el_tooltip = _resolveComponent("el-tooltip");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_tooltip, {
content: "Top center",
placement: "top"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_1]),
_: 1
})]),
_: 1
}), _createVNode(_component_el_tooltip, {
content: "Bottom center",
placement: "bottom",
effect: "light"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_2]),
_: 1
})]),
_: 1
})]);
}
const democomponentExport = {};
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__*/_createTextVNode(" multiple lines");
const _hoisted_2 = /*#__PURE__*/_createElementVNode("br", null, null, -1);
const _hoisted_3 = /*#__PURE__*/_createTextVNode("second line ");
const _hoisted_4 = /*#__PURE__*/_createTextVNode("Top center");
function render(_ctx, _cache) {
const _component_el_button = _resolveComponent("el-button");
const _component_el_tooltip = _resolveComponent("el-tooltip");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_tooltip, {
placement: "top"
}, {
content: _withCtx(() => [_hoisted_1, _hoisted_2, _hoisted_3]),
default: _withCtx(() => [_createVNode(_component_el_button, null, {
default: _withCtx(() => [_hoisted_4]),
_: 1
})]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo3": function () {
const {
toDisplayString: _toDisplayString,
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
function render(_ctx, _cache) {
const _component_el_button = _resolveComponent("el-button");
const _component_el_tooltip = _resolveComponent("el-tooltip");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_tooltip, {
disabled: _ctx.disabled,
content: "click to close tooltip function",
placement: "bottom",
effect: "light"
}, {
default: _withCtx(() => [_createVNode(_component_el_button, {
onClick: _cache[0] || (_cache[0] = $event => _ctx.disabled = !_ctx.disabled)
}, {
default: _withCtx(() => [_createTextVNode("click to " + _toDisplayString(_ctx.disabled ? 'active' : 'close') + " tooltip function", 1)]),
_: 1
})]),
_: 1
}, 8, ["disabled"])]);
}
const democomponentExport = {
data() {
return {
disabled: false
};
}
};
return {
render,
...democomponentExport
};
}()
}
});
// CONCATENATED MODULE: ./website/docs/en-US/tooltip.md?vue&type=script&lang=ts
// CONCATENATED MODULE: ./website/docs/en-US/tooltip.md
tooltipvue_type_script_lang_ts.render = tooltipvue_type_template_id_eb2ff8e6_render
/* harmony default export */ var tooltip = __webpack_exports__["default"] = (tooltipvue_type_script_lang_ts);
/***/ })
}]);