Sidebar demo updates
parent
d8dc5d6429
commit
08b31ea2cc
|
@ -3,8 +3,7 @@
|
||||||
<p>Sidebar is used as a container and visibility is controlled with a binding to <i>visible</i>.</p>
|
<p>Sidebar is used as a container and visibility is controlled with a binding to <i>visible</i>.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible">
|
<Sidebar v-model:visible="visible" header="Sidebar">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
@ -20,8 +19,7 @@ export default {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible">
|
<Sidebar v-model:visible="visible" header="Sidebar">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
@ -30,8 +28,7 @@ export default {
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible">
|
<Sidebar v-model:visible="visible" header="Sidebar">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
@ -51,8 +48,7 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible">
|
<Sidebar v-model:visible="visible" header="Sidebar">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
<p>The whole page is covered when <i>position</i> property is set as <i>full</i>.</p>
|
<p>The whole page is covered when <i>position</i> property is set as <i>full</i>.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible" position="full">
|
<Sidebar v-model:visible="visible" header="Sidebar" position="full">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-window-maximize" @click="visible = true" />
|
<Button icon="pi pi-window-maximize" @click="visible = true" />
|
||||||
|
@ -20,8 +19,7 @@ export default {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible" position="full">
|
<Sidebar v-model:visible="visible" header="Sidebar" position="full">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-window-maximize" @click="visible = true" />
|
<Button icon="pi pi-window-maximize" @click="visible = true" />
|
||||||
|
@ -30,8 +28,7 @@ export default {
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible" position="full">
|
<Sidebar v-model:visible="visible" header="Sidebar" position="full">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-window-maximize" @click="visible = true" />
|
<Button icon="pi pi-window-maximize" @click="visible = true" />
|
||||||
|
@ -51,8 +48,7 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible" position="full">
|
<Sidebar v-model:visible="visible" header="Sidebar" position="full">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-window-maximize" @click="visible = true" />
|
<Button icon="pi pi-window-maximize" @click="visible = true" />
|
||||||
|
|
|
@ -10,23 +10,19 @@
|
||||||
<Button icon="pi pi-arrow-up" @click="visibleBottom = true" />
|
<Button icon="pi pi-arrow-up" @click="visibleBottom = true" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleLeft">
|
<Sidebar v-model:visible="visibleLeft" header="Left Sidebar">
|
||||||
<h2>Left Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleRight" position="right">
|
<Sidebar v-model:visible="visibleRight" header="Right Sidebar" position="right">
|
||||||
<h2>Right Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleTop" position="top" style="height: auto">
|
<Sidebar v-model:visible="visibleTop" header="Top Sidebar" position="top" style="height: auto">
|
||||||
<h2>Top Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleBottom" position="bottom" style="height: auto">
|
<Sidebar v-model:visible="visibleBottom" header="Bottom Sidebar" position="bottom" style="height: auto">
|
||||||
<h2>Bottom Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
</div>
|
</div>
|
||||||
|
@ -50,23 +46,19 @@ export default {
|
||||||
<Button icon="pi pi-arrow-up" @click="visibleBottom = true" />
|
<Button icon="pi pi-arrow-up" @click="visibleBottom = true" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleLeft">
|
<Sidebar v-model:visible="visibleLeft" header="Left Sidebar">
|
||||||
<h2>Left Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleRight" position="right">
|
<Sidebar v-model:visible="visibleRight" header="Right Sidebar" position="right">
|
||||||
<h2>Right Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleTop" position="top" style="height: auto">
|
<Sidebar v-model:visible="visibleTop" header="Top Sidebar" position="top" style="height: auto">
|
||||||
<h2>Top Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleBottom" position="bottom" style="height: auto">
|
<Sidebar v-model:visible="visibleBottom" header="Bottom Sidebar" position="bottom" style="height: auto">
|
||||||
<h2>Bottom Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
`,
|
`,
|
||||||
|
@ -80,23 +72,19 @@ export default {
|
||||||
<Button icon="pi pi-arrow-up" @click="visibleBottom = true" />
|
<Button icon="pi pi-arrow-up" @click="visibleBottom = true" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleLeft">
|
<Sidebar v-model:visible="visibleLeft" header="Left Sidebar">
|
||||||
<h2>Left Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleRight" position="right">
|
<Sidebar v-model:visible="visibleRight" header="Right Sidebar" position="right">
|
||||||
<h2>Right Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleTop" position="top" style="height: auto">
|
<Sidebar v-model:visible="visibleTop" header="Top Sidebar" position="top" style="height: auto">
|
||||||
<h2>Top Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleBottom" position="bottom" style="height: auto">
|
<Sidebar v-model:visible="visibleBottom" header="Bottom Sidebar" position="bottom" style="height: auto">
|
||||||
<h2>Bottom Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
</div>
|
</div>
|
||||||
|
@ -125,23 +113,19 @@ export default {
|
||||||
<Button icon="pi pi-arrow-up" @click="visibleBottom = true" />
|
<Button icon="pi pi-arrow-up" @click="visibleBottom = true" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleLeft">
|
<Sidebar v-model:visible="visibleLeft" header="Left Sidebar">
|
||||||
<h2>Left Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleRight" position="right">
|
<Sidebar v-model:visible="visibleRight" header="Right Sidebar" position="right">
|
||||||
<h2>Right Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleTop" position="top" style="height: auto">
|
<Sidebar v-model:visible="visibleTop" header="Top Sidebar" position="top" style="height: auto">
|
||||||
<h2>Top Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
|
|
||||||
<Sidebar v-model:visible="visibleBottom" position="bottom" style="height: auto">
|
<Sidebar v-model:visible="visibleBottom" header="Bottom Sidebar" position="bottom" style="height: auto">
|
||||||
<h2>Bottom Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
<p>Sidebar dimension can be defined with <i>style</i> or <i>class</i> properties which can also be responsive when used with a CSS utility library like PrimeFlex or Tailwind.</p>
|
<p>Sidebar dimension can be defined with <i>style</i> or <i>class</i> properties which can also be responsive when used with a CSS utility library like PrimeFlex or Tailwind.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible" class="w-full md:w-20rem lg:w-30rem">
|
<Sidebar v-model:visible="visible" header="Sidebar" class="w-full md:w-20rem lg:w-30rem">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
@ -20,8 +19,7 @@ export default {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible" class="w-full md:w-20rem lg:w-30rem">
|
<Sidebar v-model:visible="visible" header="Sidebar" class="w-full md:w-20rem lg:w-30rem">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
@ -30,8 +28,7 @@ export default {
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible" class="w-full md:w-20rem lg:w-30rem">
|
<Sidebar v-model:visible="visible" header="Sidebar" class="w-full md:w-20rem lg:w-30rem">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
@ -51,8 +48,7 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible" class="w-full md:w-20rem lg:w-30rem">
|
<Sidebar v-model:visible="visible" header="Sidebar" class="w-full md:w-20rem lg:w-30rem">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
|
|
@ -3,16 +3,9 @@
|
||||||
<p>Additional content at the header section is provided using the <i>header</i> template.</p>
|
<p>Additional content at the header section is provided using the <i>header</i> template.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar
|
<Sidebar v-model:visible="visible">
|
||||||
v-model:visible="visible"
|
|
||||||
:pt="{
|
|
||||||
header: {
|
|
||||||
style: 'justify-content: space-between'
|
|
||||||
}
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="flex align-items-center gap-2 mr-auto">
|
<div class="flex align-items-center gap-2">
|
||||||
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
|
||||||
<span class="font-bold">Amy Elsner</span>
|
<span class="font-bold">Amy Elsner</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -31,16 +24,9 @@ export default {
|
||||||
visible: false,
|
visible: false,
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Sidebar
|
<Sidebar v-model:visible="visible">
|
||||||
v-model:visible="visible"
|
|
||||||
:pt="{
|
|
||||||
header: {
|
|
||||||
style: 'justify-content: space-between'
|
|
||||||
}
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="flex align-items-center gap-2 mr-auto">
|
<div class="flex align-items-center gap-2">
|
||||||
<Avatar image="/images/avatar/amyelsner.png" shape="circle" />
|
<Avatar image="/images/avatar/amyelsner.png" shape="circle" />
|
||||||
<span class="font-bold">Amy Elsner</span>
|
<span class="font-bold">Amy Elsner</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -52,16 +38,9 @@ export default {
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar
|
<Sidebar v-model:visible="visible">
|
||||||
v-model:visible="visible"
|
|
||||||
:pt="{
|
|
||||||
header: {
|
|
||||||
style: 'justify-content: space-between'
|
|
||||||
}
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="flex align-items-center gap-2 mr-auto">
|
<div class="flex align-items-center gap-2">
|
||||||
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
|
||||||
<span class="font-bold">Amy Elsner</span>
|
<span class="font-bold">Amy Elsner</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -85,21 +64,14 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar
|
<Sidebar v-model:visible="visible">
|
||||||
v-model:visible="visible"
|
|
||||||
:pt="{
|
|
||||||
header: {
|
|
||||||
style: 'justify-content: space-between'
|
|
||||||
}
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="flex align-items-center gap-2 mr-auto">
|
<div class="flex align-items-center gap-2">
|
||||||
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
|
||||||
<span class="font-bold">Amy Elsner</span>
|
<span class="font-bold">Amy Elsner</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-plus" @click="visible = true" />
|
<Button icon="pi pi-plus" @click="visible = true" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs"> </DocSectionText>
|
<DocSectionText v-bind="$attrs"> </DocSectionText>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible" :pt="{ root: { class: 'w-25rem' } }">
|
<Sidebar v-model:visible="visible" header="Sidebar" :pt="{ root: { class: 'w-25rem' } }">
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
@ -18,11 +17,11 @@ export default {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Sidebar v-model:visible="visible"
|
<Sidebar v-model:visible="visible"
|
||||||
|
header="Sidebar"
|
||||||
:pt="{
|
:pt="{
|
||||||
root: { class: 'w-25rem' }
|
root: { class: 'w-25rem' }
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
@ -31,11 +30,11 @@ export default {
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible"
|
<Sidebar v-model:visible="visible"
|
||||||
|
header="Sidebar"
|
||||||
:pt="{
|
:pt="{
|
||||||
root: { class: 'w-25rem' }
|
root: { class: 'w-25rem' }
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
@ -56,11 +55,11 @@ export default {
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Sidebar v-model:visible="visible"
|
<Sidebar v-model:visible="visible"
|
||||||
|
header="Sidebar"
|
||||||
:pt="{
|
:pt="{
|
||||||
root: { class: 'w-25rem' }
|
root: { class: 'w-25rem' }
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<h2>Sidebar</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
<Button icon="pi pi-arrow-right" @click="visible = true" />
|
||||||
|
|
Loading…
Reference in New Issue