mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3907 - TabMenu options added
This commit is contained in:
parent
f7572320c4
commit
39bd79dc10
2 changed files with 26 additions and 8 deletions
11
components/lib/tabmenu/TabMenu.d.ts
vendored
11
components/lib/tabmenu/TabMenu.d.ts
vendored
|
@ -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']}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue