primevue-mirror/components/lib/steps/BaseSteps.vue

34 lines
639 B
Vue
Raw Normal View History

2023-05-30 11:58:41 +00:00
<script>
import BaseComponent from 'primevue/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>