2023-04-10 14:01:21 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs"> </DocSectionText>
|
|
|
|
<div class="card">
|
2023-04-19 08:13:06 +00:00
|
|
|
<Splitter :pt="{ root: { style: { height: '300px' } }, gutterHandler: { class: 'bg-primary' } }">
|
2023-04-10 14:01:21 +00:00
|
|
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
|
|
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
|
|
|
</Splitter>
|
|
|
|
</div>
|
|
|
|
<DocSectionCode :code="code" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
|
|
|
<Splitter
|
2023-04-19 08:13:06 +00:00
|
|
|
:pt="{
|
|
|
|
root: { style: { height: '300px' } },
|
|
|
|
gutterHandler: { class: 'bg-primary' }
|
|
|
|
}">
|
2023-04-10 14:01:21 +00:00
|
|
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
|
|
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
2023-10-15 09:38:39 +00:00
|
|
|
</Splitter>
|
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
options: `
|
|
|
|
<template>
|
2023-04-10 14:01:21 +00:00
|
|
|
<div class="card">
|
2023-04-19 08:13:06 +00:00
|
|
|
<Splitter
|
|
|
|
:pt="{
|
|
|
|
root: { style: { height: '300px' } },
|
|
|
|
gutterHandler: { class: 'bg-primary' }
|
|
|
|
}">
|
2023-04-10 14:01:21 +00:00
|
|
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
|
|
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
|
|
|
</Splitter>
|
|
|
|
</div>
|
2023-10-15 09:38:39 +00:00
|
|
|
</template>
|
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
composition: `
|
|
|
|
<template>
|
2023-04-10 14:01:21 +00:00
|
|
|
<div class="card">
|
2023-04-19 08:13:06 +00:00
|
|
|
<Splitter
|
|
|
|
:pt="{
|
|
|
|
root: { style: { height: '300px' } },
|
|
|
|
gutterHandler: { class: 'bg-primary' }
|
|
|
|
}">
|
2023-04-10 14:01:21 +00:00
|
|
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
|
|
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
|
|
|
</Splitter>
|
|
|
|
</div>
|
2023-11-01 14:36:59 +00:00
|
|
|
</template>
|
|
|
|
`
|
2023-04-10 14:01:21 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|