diff --git a/src/views/accordion/AccordionDoc.vue b/src/views/accordion/AccordionDoc.vue index a276d1546..648f8af63 100755 --- a/src/views/accordion/AccordionDoc.vue +++ b/src/views/accordion/AccordionDoc.vue @@ -3,8 +3,7 @@
Import
-
-
+

 import Accordion from 'primevue/accordion';
 import AccordionTab from 'primevue/accordiontab';
 
@@ -12,8 +11,7 @@ import AccordionTab from 'primevue/accordiontab';
 
 				
Getting Started

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

-
-
+

 <Accordion>
 	<AccordionTab header="Header I">
 		Content
@@ -30,8 +28,7 @@ import AccordionTab from 'primevue/accordiontab';
 
 				
Active

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

-
-
+

 <Accordion :activeIndex="0">
 	<AccordionTab header="Header I">
 		Content
@@ -47,8 +44,7 @@ import AccordionTab from 'primevue/accordiontab';
 

Two-way binding requires v-model.

-
-
+

 <Accordion v-model:activeIndex="activeIndex">
 	<AccordionTab header="Header I">
 		Content
@@ -66,8 +62,7 @@ import AccordionTab from 'primevue/accordiontab';
 				
Multiple

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">
 		Content
@@ -84,8 +79,7 @@ import AccordionTab from 'primevue/accordiontab';
 
 				
Disabled

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

-
-
+

 <Accordion>
 	<AccordionTab header="Header I">
 		Content
@@ -102,8 +96,7 @@ import AccordionTab from 'primevue/accordiontab';
 
 				
Custom Content at Headers

Custom content for the title section of a panel is defined using the header template.

-
-
+

 <Accordion>
 	<AccordionTab>
 		<template #header>
@@ -132,8 +125,7 @@ import AccordionTab from 'primevue/accordiontab';
 
 				
Programmatic Control

Tabs can be controlled programmatically using activeIndex property.

-
-
+

 <Button @click="active = 0" class="p-button-text" label="Activate 1st" />
 <Button @click="active = 1" class="p-button-text" label="Activate 2nd" />
 <Button @click="active = 2" class="p-button-text" label="Activate 3rd" />
@@ -152,8 +144,7 @@ import AccordionTab from 'primevue/accordiontab';
 
 
-
-
+

 export default {
 	data() {
 		return {
@@ -166,8 +157,7 @@ export default {
 
 				
Dynamic Tabs

Tabs can be generated dynamically using the standard v-for directive.

-
-