Fixed #3904 - Panel: Header accessibility issue

This commit is contained in:
Tuğçe Küçükoğlu 2023-04-26 14:18:19 +03:00
parent 0142b37aa5
commit 00bedf4181
2 changed files with 11 additions and 2 deletions

View file

@ -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.
*/