mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Fixed #4263 - Dropdown: Invalid slot typings
This commit is contained in:
parent
b7197c622f
commit
07597f556f
1 changed files with 14 additions and 4 deletions
18
components/lib/dropdown/Dropdown.d.ts
vendored
18
components/lib/dropdown/Dropdown.d.ts
vendored
|
@ -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[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue