line_push/node_modules/vuetify/lib/components/VTimeline/VTimeline.js
2022-07-17 13:16:16 +08:00

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