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

39 lines
781 B
Vue

<script>
import BaseComponent from 'primevue/basecomponent';
import SplitterStyle from 'primevue/splitter/style';
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 {
$pcSplitter: this,
$parentInstance: this
};
}
};
</script>