forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQTimelineEntry.json
More file actions
89 lines (75 loc) · 2.1 KB
/
QTimelineEntry.json
File metadata and controls
89 lines (75 loc) · 2.1 KB
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
{
"mixins": [ "mixins/tag" ],
"meta": {
"docsUrl": "https://v1.quasar.dev/vue-components/timeline"
},
"behavior": {
"$listeners": true
},
"props": {
"heading": {
"type": "Boolean",
"desc": "Defines a heading timeline item",
"category": "content"
},
"tag": {
"desc": "Tag to use, if of type 'heading' only",
"default": "h3",
"examples": [ "h1" ]
},
"side": {
"type": "String",
"desc": "Side to place the timeline entry; Works only if QTimeline layout is loose.",
"default": "right",
"values": [ "left", "right" ],
"category": "behavior"
},
"icon": {
"extends": "icon"
},
"avatar": {
"type": "String",
"desc": "URL to the avatar image; Icon takes precedence if used, so it replaces avatar",
"transformAssetUrls": true,
"examples": [
"(public folder) src=\"img/my-bg.png\"",
"(assets folder) src=\"~assets/my-img.png\"",
"(relative path format) :src=\"require('./my_img.jpg')\"",
"(URL) src=\"https://placeimg.com/500/300/nature\""
],
"category": "content"
},
"color": {
"extends": "color"
},
"title": {
"type": "String",
"desc": "Title of timeline entry; Is overridden if using 'title' slot",
"examples": [ "December party" ],
"category": "content"
},
"subtitle": {
"type": "String",
"desc": "Subtitle of timeline entry; Is overridden if using 'subtitle' slot",
"examples": [ "All invited" ],
"category": "content"
},
"body": {
"type": "String",
"desc": "Body content of timeline entry; Use this prop or the default slot",
"examples": [ "Lorem ipsum dolor sit amet, consectetur adipisicing elit." ],
"category": "content"
}
},
"slots": {
"default": {
"desc": "Timeline entry content (body)"
},
"title": {
"desc": "Optional slot for title; When used, it overrides 'title' prop"
},
"subtitle": {
"desc": "Optional slot for subtitle; When used, it overrides 'subtitle' prop"
}
}
}