Docs for Sidebar
parent
70319c736d
commit
68ddecb21c
|
@ -8,9 +8,9 @@ import Sidebar from 'primevue/sidebar';
|
||||||
</CodeHighlight>
|
</CodeHighlight>
|
||||||
|
|
||||||
<h3>Getting Started</h3>
|
<h3>Getting Started</h3>
|
||||||
<p>Sidebar is used as a container and visibility is controlled with <i>visible</i> property.</p>
|
<p>Sidebar is used as a container and visibility is controlled with <i>visible</i> property that requires the sync operator for two-way binding.</p>
|
||||||
<CodeHighlight>
|
<CodeHighlight>
|
||||||
<Sidebar :visible.sync="visibleLeft" :baseZIndex="1000">
|
<Sidebar :visible.sync="visibleLeft">
|
||||||
Content
|
Content
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ import Sidebar from 'primevue/sidebar';
|
||||||
<h3>Position</h3>
|
<h3>Position</h3>
|
||||||
<p>Sidebar can either be located on the left (default), right, top or bottom of the screen depending on the <i>position</i> property.</p>
|
<p>Sidebar can either be located on the left (default), right, top or bottom of the screen depending on the <i>position</i> property.</p>
|
||||||
<CodeHighlight>
|
<CodeHighlight>
|
||||||
<Sidebar :visible.sync="visibleRight" :baseZIndex="1000" position="right">
|
<Sidebar :visible.sync="visibleRight" position="right">
|
||||||
Content
|
Content
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
</CodeHighlight>
|
</CodeHighlight>
|
||||||
|
@ -46,56 +46,56 @@ import Sidebar from 'primevue/sidebar';
|
||||||
<div class="doc-tablewrapper">
|
<div class="doc-tablewrapper">
|
||||||
<table class="doc-table">
|
<table class="doc-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Type</th>
|
<th>Type</th>
|
||||||
<th>Default</th>
|
<th>Default</th>
|
||||||
<th>Description</th>
|
<th>Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>visible</td>
|
<td>visible</td>
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>false</td>
|
<td>false</td>
|
||||||
<td>Specifies the visibility of the dialog.</td>
|
<td>Specifies the visibility of the dialog.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>position</td>
|
<td>position</td>
|
||||||
<td>string</td>
|
<td>string</td>
|
||||||
<td>left</td>
|
<td>left</td>
|
||||||
<td>Specifies the position of the sidebar, valid values are "left", "right", "top", "bottom" and "full".</td>
|
<td>Specifies the position of the sidebar, valid values are "left", "right", "top", "bottom" and "full".</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>baseZIndex</td>
|
<td>baseZIndex</td>
|
||||||
<td>number</td>
|
<td>number</td>
|
||||||
<td>0</td>
|
<td>0</td>
|
||||||
<td>Base zIndex value to use in layering.</td>
|
<td>Base zIndex value to use in layering.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>autoZIndex</td>
|
<td>autoZIndex</td>
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>true</td>
|
<td>true</td>
|
||||||
<td>Whether to automatically manage layering.</td>
|
<td>Whether to automatically manage layering.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>dismissable</td>
|
<td>dismissable</td>
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>true</td>
|
<td>true</td>
|
||||||
<td>Whether clicking outside closes the panel.</td>
|
<td>Whether clicking outside closes the panel.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>showCloseIcon</td>
|
<td>showCloseIcon</td>
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>true</td>
|
<td>true</td>
|
||||||
<td>Whether to display a close icon inside the panel.</td>
|
<td>Whether to display a close icon inside the panel.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>modal</td>
|
<td>modal</td>
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>true</td>
|
<td>true</td>
|
||||||
<td>Whether to a modal layer behind the sidebar.</td>
|
<td>Whether to a modal layer behind the sidebar.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue