mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
Fixed #3802 - Improve folder structure for nuxt configurations
This commit is contained in:
parent
851950270b
commit
f5fe822afb
563 changed files with 1703 additions and 1095 deletions
31
components/lib/splitterpanel/SplitterPanel.vue
Normal file
31
components/lib/splitterpanel/SplitterPanel.vue
Normal file
|
@ -0,0 +1,31 @@
|
|||
<template>
|
||||
<div ref="container" :class="containerClass">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'SplitterPanel',
|
||||
props: {
|
||||
size: {
|
||||
type: Number,
|
||||
default: null
|
||||
},
|
||||
minSize: {
|
||||
type: Number,
|
||||
default: null
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
containerClass() {
|
||||
return ['p-splitter-panel', { 'p-splitter-panel-nested': this.isNested }];
|
||||
},
|
||||
isNested() {
|
||||
return this.$slots.default().some((child) => {
|
||||
return child.type.name === 'Splitter';
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue