|
1 | 1 | if (document.getElementById('vue-popoverDemo')) { |
2 | 2 | const POSITIONS = [ |
3 | | - { label: 'Top Start', value: 'top-start' }, |
4 | 3 | { label: 'Top Left', value: 'top-left' }, |
5 | 4 | { label: 'Top', value: 'top' }, |
6 | 5 | { label: 'Top Right', value: 'top-right' }, |
7 | | - { label: 'Top End', value: 'top-end' }, |
8 | | - { label: 'Right Start', value: 'right-start' }, |
9 | 6 | { label: 'Right Top', value: 'right-top' }, |
10 | 7 | { label: 'Right', value: 'right' }, |
11 | 8 | { label: 'Right Bottom', value: 'right-bottom' }, |
12 | | - { label: 'Right End', value: 'right-end' }, |
13 | | - { label: 'Bottom End', value: 'bottom-end' }, |
14 | 9 | { label: 'Bottom Right', value: 'bottom-right' }, |
15 | 10 | { label: 'Bottom', value: 'bottom' }, |
16 | 11 | { label: 'Bottom Left', value: 'bottom-left' }, |
17 | | - { label: 'Bottom Start', value: 'bottom-start' }, |
18 | | - { label: 'Left End', value: 'left-end' }, |
19 | 12 | { label: 'Left Bottom', value: 'left-bottom' }, |
20 | 13 | { label: 'Left', value: 'left' }, |
21 | 14 | { label: 'Left Top', value: 'left-top' }, |
22 | | - { label: 'Left Start', value: 'left-start' }, |
23 | 15 | ]; |
24 | 16 |
|
25 | 17 | new Vue({ |
26 | 18 | el: '#vue-popoverDemo', |
27 | 19 | data: { |
28 | | - position: POSITIONS[11], |
| 20 | + position: POSITIONS[6], |
29 | 21 | positions: POSITIONS, |
30 | 22 | }, |
31 | 23 | }); |
|
0 commit comments