Docs for Sidebar
parent
70319c736d
commit
68ddecb21c
|
@ -8,9 +8,9 @@ import Sidebar from 'primevue/sidebar';
|
|||
</CodeHighlight>
|
||||
|
||||
<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>
|
||||
<Sidebar :visible.sync="visibleLeft" :baseZIndex="1000">
|
||||
<Sidebar :visible.sync="visibleLeft">
|
||||
Content
|
||||
</Sidebar>
|
||||
|
||||
|
@ -20,7 +20,7 @@ import Sidebar from 'primevue/sidebar';
|
|||
<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>
|
||||
<CodeHighlight>
|
||||
<Sidebar :visible.sync="visibleRight" :baseZIndex="1000" position="right">
|
||||
<Sidebar :visible.sync="visibleRight" position="right">
|
||||
Content
|
||||
</Sidebar>
|
||||
</CodeHighlight>
|
||||
|
@ -46,56 +46,56 @@ import Sidebar from 'primevue/sidebar';
|
|||
<div class="doc-tablewrapper">
|
||||
<table class="doc-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th>Default</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th>Default</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>visible</td>
|
||||
<td>boolean</td>
|
||||
<td>false</td>
|
||||
<td>Specifies the visibility of the dialog.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>position</td>
|
||||
<td>string</td>
|
||||
<td>left</td>
|
||||
<td>Specifies the position of the sidebar, valid values are "left", "right", "top", "bottom" and "full".</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>baseZIndex</td>
|
||||
<td>number</td>
|
||||
<td>0</td>
|
||||
<td>Base zIndex value to use in layering.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>autoZIndex</td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td>Whether to automatically manage layering.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>dismissable</td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td>Whether clicking outside closes the panel.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>showCloseIcon</td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td>Whether to display a close icon inside the panel.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>modal</td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td>Whether to a modal layer behind the sidebar.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>visible</td>
|
||||
<td>boolean</td>
|
||||
<td>false</td>
|
||||
<td>Specifies the visibility of the dialog.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>position</td>
|
||||
<td>string</td>
|
||||
<td>left</td>
|
||||
<td>Specifies the position of the sidebar, valid values are "left", "right", "top", "bottom" and "full".</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>baseZIndex</td>
|
||||
<td>number</td>
|
||||
<td>0</td>
|
||||
<td>Base zIndex value to use in layering.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>autoZIndex</td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td>Whether to automatically manage layering.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>dismissable</td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td>Whether clicking outside closes the panel.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>showCloseIcon</td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td>Whether to display a close icon inside the panel.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>modal</td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td>Whether to a modal layer behind the sidebar.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue