Docs for Sidebar

pull/12/head
cagataycivici 2019-05-23 12:18:08 +03:00
parent 70319c736d
commit 68ddecb21c
1 changed files with 51 additions and 51 deletions

View File

@ -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>
&lt;Sidebar :visible.sync="visibleLeft" :baseZIndex="1000"&gt;
&lt;Sidebar :visible.sync="visibleLeft"&gt;
Content
&lt;/Sidebar&gt;
@ -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>
&lt;Sidebar :visible.sync="visibleRight" :baseZIndex="1000" position="right"&gt;
&lt;Sidebar :visible.sync="visibleRight" position="right"&gt;
Content
&lt;/Sidebar&gt;
</CodeHighlight>