diff --git a/components/lib/tabmenu/TabMenu.d.ts b/components/lib/tabmenu/TabMenu.d.ts index 956c8c46a..d5ce6e79e 100755 --- a/components/lib/tabmenu/TabMenu.d.ts +++ b/components/lib/tabmenu/TabMenu.d.ts @@ -19,6 +19,7 @@ export declare type TabMenuPassThroughOptionType = TabMenuPassThroughAttributes export interface TabMenuPassThroughMethodOptions { props: TabMenuProps; state: TabMenuState; + options: TabMenuOptions; } /** @@ -74,6 +75,16 @@ export interface TabMenuState { d_activeIndex: number; } +/** + * Defines current options in TabMenu component. + */ +export interface TabMenuOptions { + /** + * Order of the menuitem + */ + order: number; +} + /** * Custom change event. * @see {@link TabMenuEmits['tab-change']} diff --git a/components/lib/tabmenu/TabMenu.vue b/components/lib/tabmenu/TabMenu.vue index 4e4d6cee7..d06be9806 100755 --- a/components/lib/tabmenu/TabMenu.vue +++ b/components/lib/tabmenu/TabMenu.vue @@ -3,7 +3,7 @@