Update SplitterDoc with multiple panels sample
parent
b68d8c6bba
commit
7d19881c0c
|
@ -18,18 +18,6 @@
|
|||
Panel 2
|
||||
</SplitterPanel>
|
||||
</Splitter>
|
||||
|
||||
<Splitter style="height: 300px">
|
||||
<SplitterPanel class="p-d-flex p-ai-center p-jc-center">
|
||||
Panel 1
|
||||
</SplitterPanel>
|
||||
<SplitterPanel class="p-d-flex p-ai-center p-jc-center">
|
||||
Panel 2
|
||||
</SplitterPanel>
|
||||
<SplitterPanel class="p-d-flex p-ai-center p-jc-center">
|
||||
Panel 3
|
||||
</SplitterPanel>
|
||||
</Splitter>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
|
|
|
@ -23,6 +23,18 @@ import SplitterPanel from 'primevue/splitterpanel';
|
|||
</SplitterPanel>
|
||||
</Splitter>
|
||||
|
||||
</code></pre>
|
||||
|
||||
<h5>Multiple Panels</h5>
|
||||
<p>Any number of panels can be nested inside a Splitter.</p>
|
||||
<pre v-code>
|
||||
<code><template v-pre>
|
||||
<Splitter style="height: 300px">
|
||||
<SplitterPanel v-for="item of items" :key="item.key">
|
||||
{{item.content}}
|
||||
</SplitterPanel>
|
||||
</Splitter>
|
||||
</template>
|
||||
</code></pre>
|
||||
|
||||
<h5>Layout</h5>
|
||||
|
|
Loading…
Reference in New Issue