primevue-mirror/components/lib/splitter/BaseSplitter.vue

38 lines
750 B
Vue
Raw Normal View History

2023-05-24 08:54:19 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import SplitterStyle from 'primevue/splitter/style';
2023-05-24 08:54:19 +00:00
export default {
name: 'BaseSplitter',
extends: BaseComponent,
props: {
layout: {
type: String,
default: 'horizontal'
},
gutterSize: {
type: Number,
default: 4
},
stateKey: {
type: String,
default: null
},
stateStorage: {
type: String,
default: 'session'
},
step: {
type: Number,
default: 5
}
},
style: SplitterStyle,
provide() {
return {
$parentInstance: this
};
2023-05-24 08:54:19 +00:00
}
};
</script>