mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +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.
|
* @param {Object} scope - clear icon slot's params.
|
||||||
*/
|
*/
|
||||||
clearicon(scope: {
|
clearicon(scope: {
|
||||||
|
/**
|
||||||
|
* Style class of the clear icon
|
||||||
|
*/
|
||||||
|
class: any;
|
||||||
/**
|
/**
|
||||||
* Clear icon click function.
|
* Clear icon click function.
|
||||||
*/
|
*/
|
||||||
onClick: void;
|
onClick: (event: Event) => void;
|
||||||
}): VNode[];
|
}): VNode[];
|
||||||
/**
|
/**
|
||||||
* Custom dropdown icon template.
|
* Custom dropdown icon template.
|
||||||
|
@ -574,7 +578,7 @@ export interface DropdownSlots {
|
||||||
*/
|
*/
|
||||||
dropdownicon(scope: {
|
dropdownicon(scope: {
|
||||||
/**
|
/**
|
||||||
* Style class of the component
|
* Style class of the dropdown icon
|
||||||
*/
|
*/
|
||||||
class: any;
|
class: any;
|
||||||
}): VNode[];
|
}): VNode[];
|
||||||
|
@ -584,14 +588,20 @@ export interface DropdownSlots {
|
||||||
*/
|
*/
|
||||||
loadingicon(scope: {
|
loadingicon(scope: {
|
||||||
/**
|
/**
|
||||||
* Style class of the component
|
* Style class of the loading icon
|
||||||
*/
|
*/
|
||||||
class: any;
|
class: any;
|
||||||
}): VNode[];
|
}): VNode[];
|
||||||
/**
|
/**
|
||||||
* Custom filter icon template.
|
* 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