Demo update
parent
3e16d9ac31
commit
39372130da
|
@ -50,9 +50,9 @@
|
|||
|
||||
<h5>Programmatic</h5>
|
||||
<div style="padding: .5em 0 1em 0">
|
||||
<Button :icon="active1 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 1st" @click="active1 = !active1" class="p-button-secondary" />
|
||||
<Button :icon="active2 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 2nd" @click="active2 = !active2" class="p-button-secondary" style="margin-left: .5em" />
|
||||
<Button :icon="active3 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 3rd" @click="active3 = !active3" class="p-button-secondary" style="margin-left: .5em" />
|
||||
<Button :icon="active1 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 1st" @click="active1 = !active1" class="p-button-text" />
|
||||
<Button :icon="active2 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 2nd" @click="active2 = !active2" class="p-button-text" style="margin-left: .5em" />
|
||||
<Button :icon="active3 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 3rd" @click="active3 = !active3" class="p-button-text" style="margin-left: .5em" />
|
||||
</div>
|
||||
|
||||
<Accordion :multiple="true">
|
||||
|
|
|
@ -120,9 +120,9 @@ import AccordionTab from 'primevue/accordiontab';
|
|||
<p>Tabs can be controlled programmatically using active property.</p>
|
||||
<CodeHighlight>
|
||||
<div>
|
||||
<Button :icon="active1 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 1st" @click="active1 = !active1" class="p-button-secondary" />
|
||||
<Button :icon="active2 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 2nd" @click="active2 = !active2" class="p-button-secondary" style="margin-left: .5em" />
|
||||
<Button :icon="active3 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 3rd" @click="active3 = !active3" class="p-button-secondary" style="margin-left: .5em" />
|
||||
<Button :icon="active1 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 1st" @click="active1 = !active1" class="p-button-text" />
|
||||
<Button :icon="active2 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 2nd" @click="active2 = !active2" class="p-button-text" style="margin-left: .5em" />
|
||||
<Button :icon="active3 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 3rd" @click="active3 = !active3" class="p-button-text" style="margin-left: .5em" />
|
||||
</div>
|
||||
|
||||
<Accordion :multiple="true">
|
||||
|
@ -315,9 +315,9 @@ export default {
|
|||
|
||||
<h5>Programmatic</h5>
|
||||
<div style="padding: .5em 0 1em 0">
|
||||
<Button :icon="active1 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 1st" @click="active1 = !active1" class="p-button-secondary" />
|
||||
<Button :icon="active2 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 2nd" @click="active2 = !active2" class="p-button-secondary" style="margin-left: .5em" />
|
||||
<Button :icon="active3 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 3rd" @click="active3 = !active3" class="p-button-secondary" style="margin-left: .5em" />
|
||||
<Button :icon="active1 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 1st" @click="active1 = !active1" class="p-button-text" />
|
||||
<Button :icon="active2 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 2nd" @click="active2 = !active2" class="p-button-text" style="margin-left: .5em" />
|
||||
<Button :icon="active3 ? 'pi pi-minus' : 'pi pi-plus'" label="Toggle 3rd" @click="active3 = !active3" class="p-button-text" style="margin-left: .5em" />
|
||||
</div>
|
||||
|
||||
<Accordion :multiple="true">
|
||||
|
|
|
@ -11,17 +11,13 @@
|
|||
<div class="card">
|
||||
<h5>Basic</h5>
|
||||
<Button label="Show" icon="pi pi-external-link" @click="openBasic" />
|
||||
<Dialog header="Header " :visible.sync="displayBasic" :style="{width: '50vw'}" :contentStyle="{height: '90vh'}">
|
||||
<Calendar id="basic" />
|
||||
<Panel header="Header">
|
||||
|
||||
<Dialog header="Header " :visible.sync="displayBasic" :style="{width: '50vw'}">
|
||||
<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.
|
||||
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
|
||||
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
</Panel>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" @click="closeBasic" class="p-button-secondary"/>
|
||||
<Button label="No" icon="pi pi-times" @click="closeBasic" class="p-button-text"/>
|
||||
<Button label="Yes" icon="pi pi-check" @click="closeBasic" />
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -43,7 +39,7 @@
|
|||
cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe
|
||||
eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.</p>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" @click="closeBasic2" class="p-button-secondary"/>
|
||||
<Button label="No" icon="pi pi-times" @click="closeBasic2" class="p-button-text"/>
|
||||
<Button label="Yes" icon="pi pi-check" @click="closeBasic2" />
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -55,7 +51,7 @@
|
|||
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
||||
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" @click="closeModal" class="p-button-secondary"/>
|
||||
<Button label="No" icon="pi pi-times" @click="closeModal" class="p-button-text"/>
|
||||
<Button label="Yes" icon="pi pi-check" @click="closeModal" />
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -67,7 +63,7 @@
|
|||
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
||||
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" @click="closeMaximizable" class="p-button-secondary"/>
|
||||
<Button label="No" icon="pi pi-times" @click="closeMaximizable" class="p-button-text"/>
|
||||
<Button label="Yes" icon="pi pi-check" @click="closeMaximizable" />
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -95,7 +91,7 @@
|
|||
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
||||
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" @click="closePosition" class="p-button-secondary" />
|
||||
<Button label="No" icon="pi pi-times" @click="closePosition" class="p-button-text" />
|
||||
<Button label="Yes" icon="pi pi-check" @click="closePosition" />
|
||||
</template>
|
||||
</Dialog>
|
||||
|
|
|
@ -45,7 +45,7 @@ export default {
|
|||
Content
|
||||
<template #footer>
|
||||
<Button label="Yes" icon="pi pi-check" />
|
||||
<Button label="No" icon="pi pi-times" class="p-button-secondary"/>
|
||||
<Button label="No" icon="pi pi-times" class="p-button-text"/>
|
||||
</template>
|
||||
</Dialog>
|
||||
</CodeHighlight>
|
||||
|
@ -241,7 +241,7 @@ export default {
|
|||
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
||||
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" @click="closeBasic" class="p-button-secondary"/>
|
||||
<Button label="No" icon="pi pi-times" @click="closeBasic" class="p-button-text"/>
|
||||
<Button label="Yes" icon="pi pi-check" @click="closeBasic" />
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -263,7 +263,7 @@ export default {
|
|||
cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe
|
||||
eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.</p>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" @click="closeBasic2" class="p-button-secondary"/>
|
||||
<Button label="No" icon="pi pi-times" @click="closeBasic2" class="p-button-text"/>
|
||||
<Button label="Yes" icon="pi pi-check" @click="closeBasic2" />
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -275,7 +275,7 @@ export default {
|
|||
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
||||
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" @click="closeModal" class="p-button-secondary"/>
|
||||
<Button label="No" icon="pi pi-times" @click="closeModal" class="p-button-text"/>
|
||||
<Button label="Yes" icon="pi pi-check" @click="closeModal" />
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -287,7 +287,7 @@ export default {
|
|||
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
||||
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" @click="closeMaximizable" class="p-button-secondary"/>
|
||||
<Button label="No" icon="pi pi-times" @click="closeMaximizable" class="p-button-text"/>
|
||||
<Button label="Yes" icon="pi pi-check" @click="closeMaximizable" />
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -315,7 +315,7 @@ export default {
|
|||
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
||||
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" @click="closePosition" class="p-button-secondary"/>
|
||||
<Button label="No" icon="pi pi-times" @click="closePosition" class="p-button-text"/>
|
||||
<Button label="Yes" icon="pi pi-check" @click="closePosition" />
|
||||
</template>
|
||||
</Dialog>
|
||||
|
|
Loading…
Reference in New Issue