primevue-mirror/packages/primevue/src/steps/BaseSteps.vue

34 lines
645 B
Vue
Raw Normal View History

2023-05-30 11:58:41 +00:00
<script>
2024-06-11 12:21:12 +00:00
import BaseComponent from '@primevue/core/basecomponent';
import StepsStyle from 'primevue/steps/style';
2023-05-30 11:58:41 +00:00
export default {
name: 'BaseSteps',
extends: BaseComponent,
props: {
id: {
type: String
},
model: {
type: Array,
default: null
},
readonly: {
type: Boolean,
default: true
},
activeStep: {
type: Number,
default: 0
2023-05-30 11:58:41 +00:00
}
},
style: StepsStyle,
2023-05-30 11:58:41 +00:00
provide() {
return {
$pcSteps: this,
2023-05-30 11:58:41 +00:00
$parentInstance: this
};
}
};
</script>