primevue-mirror/components/lib/timeline/BaseTimeline.vue

29 lines
572 B
Vue
Raw Normal View History

2023-06-01 12:14:49 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import TimelineStyle from 'primevue/timeline/style';
2023-06-01 12:14:49 +00:00
export default {
name: 'BaseTimeline',
extends: BaseComponent,
props: {
value: null,
align: {
mode: String,
default: 'left'
},
layout: {
mode: String,
default: 'vertical'
},
dataKey: null
},
style: TimelineStyle,
2023-06-01 12:14:49 +00:00
provide() {
return {
$pcTimeline: this,
2023-06-01 12:14:49 +00:00
$parentInstance: this
};
}
};
</script>