quasar
Version:
Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
104 lines • 2.86 kB
JSON
{
"type": "component",
"meta": {
"docsUrl": "https://v1.quasar.dev/vue-components/timeline"
},
"behavior": {
"$listeners": {
"desc": "All native events are being propagated (you don't need the '.native' modifier)"
}
},
"props": {
"tag": {
"type": "String",
"desc": "Tag to use, if of type 'heading' only",
"default": "h3",
"category": "content",
"examples": [
"h1"
]
},
"heading": {
"type": "Boolean",
"desc": "Defines a heading timeline item",
"category": "content"
},
"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": {
"type": "String",
"desc": "Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix",
"examples": [
"map",
"ion-add",
"img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
"img:statics/path/to/some_image.png"
],
"category": "content"
},
"avatar": {
"type": "String",
"desc": "URL to the avatar image; Icon takes precedence if used, so it replaces avatar",
"transformAssetUrls": true,
"examples": [
"(statics folder) src=\"statics/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": {
"type": "String",
"desc": "Color name for component from the Quasar Color Palette",
"examples": [
"primary",
"teal-10"
],
"category": "style"
},
"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"
}
}
}