diff --git a/components/lib/accordion/Accordion.vue b/components/lib/accordion/Accordion.vue
index f7903594e..601382f12 100755
--- a/components/lib/accordion/Accordion.vue
+++ b/components/lib/accordion/Accordion.vue
@@ -20,7 +20,7 @@
@keydown="onTabKeyDown($event, tab, i)"
v-bind="{ ...getTabProp(tab, 'headeractionprops'), ...getTabPT(tab, 'headeraction', i) }"
>
-
+
void;
+ /**
+ * Whether the tab is active
+ * @param {number} index - Index of the tab
+ */
+ active: (index: number) => void;
}): VNode[];
}
diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json
index 401d381c4..cd1f89244 100644
--- a/doc/common/apidoc/index.json
+++ b/doc/common/apidoc/index.json
@@ -760,7 +760,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t index: number, // Index of the tab\n \t isTabActive: (index: number) ⇒ void, // Whether the tab is active\n}",
+ "type": "{\n \t index: number, // Index of the tab\n \t isTabActive: (index: number) ⇒ void, // Whether the tab is active\n\t active: (index: number) ⇒ void, // Whether the tab is active\n}",
"description": "header slot's params."
}
],