From 39372130da2e56c26a5c8212966d7262c6d5cecc Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Fri, 26 Jun 2020 16:24:45 +0300 Subject: [PATCH] Demo update --- src/views/accordion/AccordionDemo.vue | 6 +++--- src/views/accordion/AccordionDoc.vue | 12 ++++++------ src/views/dialog/DialogDemo.vue | 16 ++++++---------- src/views/dialog/DialogDoc.vue | 12 ++++++------ 4 files changed, 21 insertions(+), 25 deletions(-) diff --git a/src/views/accordion/AccordionDemo.vue b/src/views/accordion/AccordionDemo.vue index 41151c872..66a9104b1 100755 --- a/src/views/accordion/AccordionDemo.vue +++ b/src/views/accordion/AccordionDemo.vue @@ -50,9 +50,9 @@
Programmatic
-
diff --git a/src/views/accordion/AccordionDoc.vue b/src/views/accordion/AccordionDoc.vue index edcbe39ed..7e67b5b62 100755 --- a/src/views/accordion/AccordionDoc.vue +++ b/src/views/accordion/AccordionDoc.vue @@ -120,9 +120,9 @@ import AccordionTab from 'primevue/accordiontab';

Tabs can be controlled programmatically using active property.

<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"> diff --git a/src/views/dialog/DialogDemo.vue b/src/views/dialog/DialogDemo.vue index 503576fe8..2f5c972b6 100755 --- a/src/views/dialog/DialogDemo.vue +++ b/src/views/dialog/DialogDemo.vue @@ -11,17 +11,13 @@
Basic