From 66fa8030df410bcc162d878f4d9c40ccdfff57ac Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Wed, 22 May 2019 19:30:18 +0300 Subject: [PATCH] Demo update --- src/views/accordion/AccordionDoc.vue | 108 ++-- src/views/autocomplete/AutoCompleteDoc.vue | 42 +- src/views/button/ButtonDoc.vue | 74 +-- src/views/calendar/CalendarDoc.vue | 80 +-- src/views/card/CardDoc.vue | 28 +- src/views/chart/BarChartDoc.vue | 16 +- src/views/chart/ChartDoc.vue | 4 +- src/views/chart/ComboChartDoc.vue | 8 +- src/views/chart/DoughnutChartDoc.vue | 8 +- src/views/chart/LineChartDoc.vue | 14 +- src/views/chart/PieChartDoc.vue | 8 +- src/views/chart/PolarAreaChartDoc.vue | 8 +- src/views/chart/RadarChartDoc.vue | 8 +- src/views/checkbox/CheckboxDoc.vue | 60 +- src/views/chips/ChipsDoc.vue | 24 +- src/views/dataview/DataViewDoc.vue | 104 ++-- src/views/dialog/DialogDoc.vue | 26 +- src/views/dropdown/DropdownDoc.vue | 32 +- src/views/editor/EditorDoc.vue | 36 +- src/views/fieldset/FieldsetDoc.vue | 16 +- src/views/fileupload/FileUploadDoc.vue | 24 +- src/views/flexgrid/FlexGridDoc.vue | 570 +++++++++--------- src/views/fullcalendar/FullCalendarDoc.vue | 12 +- src/views/inputgroup/InputGroupDoc.vue | 122 ++-- src/views/inputswitch/InputSwitchDoc.vue | 18 +- src/views/inputtext/InputTextDoc.vue | 28 +- src/views/listbox/ListboxDoc.vue | 36 +- src/views/message/MessageDoc.vue | 42 +- src/views/multiselect/MultiSelectDoc.vue | 46 +- src/views/overlaypanel/OverlayPanelDoc.vue | 22 +- src/views/paginator/PaginatorDoc.vue | 24 +- src/views/panel/PanelDoc.vue | 16 +- src/views/password/PasswordDoc.vue | 10 +- src/views/progressbar/ProgressBarDoc.vue | 18 +- src/views/radiobutton/RadioButtonDoc.vue | 50 +- src/views/rating/RatingDoc.vue | 22 +- src/views/selectbutton/SelectButtonDoc.vue | 42 +- src/views/sidebar/SidebarDoc.vue | 70 +-- src/views/slider/SliderDoc.vue | 30 +- src/views/spinner/SpinnerDoc.vue | 22 +- src/views/splitbutton/SplitButtonDoc.vue | 24 +- src/views/tabview/TabViewDoc.vue | 82 +-- src/views/textarea/TextareaDoc.vue | 18 +- src/views/toast/ToastDoc.vue | 54 +- src/views/togglebutton/ToggleButtonDoc.vue | 20 +- src/views/toolbar/ToolbarDoc.vue | 42 +- .../tristatecheckbox/TriStateCheckboxDoc.vue | 14 +- 47 files changed, 1091 insertions(+), 1091 deletions(-) diff --git a/src/views/accordion/AccordionDoc.vue b/src/views/accordion/AccordionDoc.vue index f0c4378c7..a0fc1dcbb 100644 --- a/src/views/accordion/AccordionDoc.vue +++ b/src/views/accordion/AccordionDoc.vue @@ -11,13 +11,13 @@ import {Accordion, AccordionTab} from 'primevue/accordion';

Accordion element consists of one or more AccordionTab elements. Title of the tab is defined using header attribute.

<Accordion> - <AccordionTab header="Header I"> + <AccordionTab header="Header I"> Content </AccordionTab> - <AccordionTab header="Header II"> + <AccordionTab header="Header II"> Content </AccordionTab> - <AccordionTab header="Header III"> + <AccordionTab header="Header III"> Content </AccordionTab> </Accordion> @@ -27,13 +27,13 @@ import {Accordion, AccordionTab} from 'primevue/accordion';

Visibility of the content is specified with the active property that supports one or two-way binding.

<Accordion> - <AccordionTab header="Header I" :active="true"> + <AccordionTab header="Header I" :active="true"> Content </AccordionTab> - <AccordionTab header="Header II"> + <AccordionTab header="Header II"> Content </AccordionTab> - <AccordionTab header="Header III"> + <AccordionTab header="Header III"> Content </AccordionTab> </Accordion> @@ -43,14 +43,14 @@ import {Accordion, AccordionTab} from 'primevue/accordion';

By default only one tab at a time can be active, enabling multiple property changes this behavior to allow multiple tabs be active at the same time.

-<Accordion :multiple="true" > - <AccordionTab header="Header I"> +<Accordion :multiple="true" > + <AccordionTab header="Header I"> Content </AccordionTab> - <AccordionTab header="Header II"> + <AccordionTab header="Header II"> Content </AccordionTab> - <AccordionTab header="Header III"> + <AccordionTab header="Header III"> Content </AccordionTab> </Accordion> @@ -60,13 +60,13 @@ import {Accordion, AccordionTab} from 'primevue/accordion';

A tab can be disabled by setting the disabled property to true.

<Accordion> - <AccordionTab header="Header I"> + <AccordionTab header="Header I"> Content </AccordionTab> - <AccordionTab header="Header II"> + <AccordionTab header="Header II"> Content </AccordionTab> - <AccordionTab header="Header III" :disabled="true"> + <AccordionTab header="Header III" :disabled="true"> Content </AccordionTab> </Accordion> @@ -77,22 +77,22 @@ import {Accordion, AccordionTab} from 'primevue/accordion'; <Accordion> <AccordionTab> - <template slot="header"> - <i class="pi pi-calendar"></i> + <template slot="header"> + <i class="pi pi-calendar"></i> <span>Header I</span> </template> Content </AccordionTab> <AccordionTab> - <template slot="header"> - <i class="pi pi-calendar"></i> + <template slot="header"> + <i class="pi pi-calendar"></i> <span>Header II</span> </template> Content </AccordionTab> <AccordionTab> - <template slot="header"> - <i class="pi pi-calendar"></i> + <template slot="header"> + <i class="pi pi-calendar"></i> <span>Header III</span> </template> Content @@ -104,19 +104,19 @@ import {Accordion, AccordionTab} from 'primevue/accordion';

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-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" /> </div> -<Accordion :multiple="true"> - <AccordionTab header="Header I" :active="active1"> +<Accordion :multiple="true"> + <AccordionTab header="Header I" :active="active1"> Content </AccordionTab> - <AccordionTab header="Header II" :active="active2"> + <AccordionTab header="Header II" :active="active2"> Content </AccordionTab> - <AccordionTab header="Header III" :active="active3"> + <AccordionTab header="Header III" :active="active3"> Content </AccordionTab> </Accordion> @@ -258,27 +258,27 @@ export default {