primevue-mirror/packages/primevue/src/progressbar/BaseProgressBar.vue

31 lines
633 B
Vue
Raw Normal View History

2023-05-25 16:32:25 +00:00
<script>
2024-06-11 12:21:12 +00:00
import BaseComponent from '@primevue/core/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>