42 lines
796 B
JavaScript
42 lines
796 B
JavaScript
|
// Styles
|
||
|
import "../../../src/components/VTimeline/VTimeline.sass";
|
||
|
import mixins from '../../util/mixins'; // Mixins
|
||
|
|
||
|
import Themeable from '../../mixins/themeable';
|
||
|
export default mixins(Themeable
|
||
|
/* @vue/component */
|
||
|
).extend({
|
||
|
name: 'v-timeline',
|
||
|
|
||
|
provide() {
|
||
|
return {
|
||
|
timeline: this
|
||
|
};
|
||
|
},
|
||
|
|
||
|
props: {
|
||
|
alignTop: Boolean,
|
||
|
dense: Boolean,
|
||
|
reverse: Boolean
|
||
|
},
|
||
|
computed: {
|
||
|
classes() {
|
||
|
return {
|
||
|
'v-timeline--align-top': this.alignTop,
|
||
|
'v-timeline--dense': this.dense,
|
||
|
'v-timeline--reverse': this.reverse,
|
||
|
...this.themeClasses
|
||
|
};
|
||
|
}
|
||
|
|
||
|
},
|
||
|
|
||
|
render(h) {
|
||
|
return h('div', {
|
||
|
staticClass: 'v-timeline',
|
||
|
class: this.classes
|
||
|
}, this.$slots.default);
|
||
|
}
|
||
|
|
||
|
});
|
||
|
//# sourceMappingURL=VTimeline.js.map
|