-
Notifications
You must be signed in to change notification settings - Fork 880
/
Copy pathCalendarApiBar.vue
executable file
·53 lines (52 loc) · 1.38 KB
/
CalendarApiBar.vue
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
<template>
<b-table
:data='props'>
<template scope='props'>
<b-table-column label='Property'>
<span v-html='props.row.propertyName'></span>
</b-table-column>
<b-table-column label='Description'>
<span v-html='props.row.description'></span>
</b-table-column>
<b-table-column label='Default'>
<span v-html='props.row.default'></span>
</b-table-column>
</template>
</b-table>
</template>
<script>
export default {
data() {
const props = [
{
propertyName: '<code>height: String</code>',
description: 'Height of bar.',
default: '<code>"5px"</code>',
},
{
propertyName: '<code>backgroundColor: String</code>',
description: 'Background color of bar.',
default: '<code>"rgba(0, 0, 0, 0.5)"</code>',
},
{
propertyName: '<code>borderColor: String</code>',
description: 'Border color of bar.',
default: '<code>undefined</code>',
},
{
propertyName: '<code>borderWidth: String</code>',
description: 'Border width of bar.',
default: '<code>"0"</code>',
},
{
propertyName: '<code>borderStyle: String</code>',
description: 'Border style of bar.',
default: '<code>"solid"</code>',
},
];
return {
props,
};
},
};
</script>