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>
|
||||
|
|
Loading…
Reference in New Issue