mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3889 - For SpeedDial
This commit is contained in:
parent
0377815bf2
commit
ccc1d4f4e0
2 changed files with 35 additions and 4 deletions
12
components/lib/speeddial/SpeedDial.d.ts
vendored
12
components/lib/speeddial/SpeedDial.d.ts
vendored
|
@ -19,6 +19,7 @@ export declare type SpeedDialPassThroughOptionType = SpeedDialPassThroughAttribu
|
|||
export interface SpeedDialPassThroughMethodOptions {
|
||||
props: SpeedDialProps;
|
||||
state: SpeedDialState;
|
||||
context: SpeedDialContext;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -97,6 +98,17 @@ export interface SpeedDialState {
|
|||
focusedOptionIndex: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines current options in SpeedDial component.
|
||||
*/
|
||||
export interface SpeedDialContext {
|
||||
/**
|
||||
* Current active state of menuitem as a boolean.
|
||||
* @defaultValue false
|
||||
*/
|
||||
active: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines tooltip options.
|
||||
* @see {@link SpeedDialProps.tooltipOptions}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue