mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Fixed #3904 - Panel: Header accessibility issue
This commit is contained in:
parent
0142b37aa5
commit
00bedf4181
2 changed files with 11 additions and 2 deletions
11
components/lib/panel/Panel.d.ts
vendored
11
components/lib/panel/Panel.d.ts
vendored
|
@ -137,7 +137,16 @@ export interface PanelSlots {
|
|||
/**
|
||||
* Custom header template.
|
||||
*/
|
||||
header(): VNode[];
|
||||
header(scope: {
|
||||
/**
|
||||
* Current id state as a string
|
||||
*/
|
||||
id: boolean;
|
||||
/**
|
||||
* Style class of the icon
|
||||
*/
|
||||
class: string;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom icons template.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue