Fixed #4263 - Dropdown: Invalid slot typings

pull/3943/head^2
Tuğçe Küçükoğlu 2023-08-15 18:23:09 +03:00
parent b7197c622f
commit 07597f556f
1 changed files with 14 additions and 4 deletions

View File

@ -563,10 +563,14 @@ export interface DropdownSlots {
* @param {Object} scope - clear icon slot's params.
*/
clearicon(scope: {
/**
* Style class of the clear icon
*/
class: any;
/**
* Clear icon click function.
*/
onClick: void;
onClick: (event: Event) => void;
}): VNode[];
/**
* Custom dropdown icon template.
@ -574,7 +578,7 @@ export interface DropdownSlots {
*/
dropdownicon(scope: {
/**
* Style class of the component
* Style class of the dropdown icon
*/
class: any;
}): VNode[];
@ -584,14 +588,20 @@ export interface DropdownSlots {
*/
loadingicon(scope: {
/**
* Style class of the component
* Style class of the loading icon
*/
class: any;
}): VNode[];
/**
* Custom filter icon template.
* @param {Object} scope - filter icon slot's params.
*/
filtericon(): VNode[];
filtericon(scope: {
/**
* Style class of the filter icon
*/
class: any;
}): VNode[];
}
/**