primevue-mirror/components/lib/progressbar/BaseProgressBar.vue

31 lines
627 B
Vue
Raw Normal View History

2023-05-25 16:32:25 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import ProgressBarStyle from 'primevue/progressbar/style';
2023-05-25 16:32:25 +00:00
export default {
name: 'BaseProgressBar',
extends: BaseComponent,
props: {
value: {
type: Number,
default: null
},
mode: {
type: String,
default: 'determinate'
},
showValue: {
type: Boolean,
default: true
}
},
style: ProgressBarStyle,
provide() {
return {
$pcProgressBar: this,
$parentInstance: this
};
2023-05-25 16:32:25 +00:00
}
};
</script>