mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Refactor #4274
This commit is contained in:
parent
24c28130c9
commit
289ee220ed
32 changed files with 189 additions and 98 deletions
8
components/lib/dropdown/Dropdown.d.ts
vendored
8
components/lib/dropdown/Dropdown.d.ts
vendored
|
@ -540,13 +540,13 @@ export interface DropdownSlots {
|
|||
* Referance of the content
|
||||
* @param {HTMLElement} el - Element of 'ref' property
|
||||
*/
|
||||
contentRef(el: any): void;
|
||||
contentRef: (el: any) => void;
|
||||
/**
|
||||
* Options of the items
|
||||
* @param {number} index - Rendered index
|
||||
* @return {@link VirtualScroller.VirtualScrollerItemOptions}
|
||||
* @return {@link VirtualScrollerItemOptions}
|
||||
*/
|
||||
getItemOptions(index: number): VirtualScrollerItemOptions;
|
||||
getItemOptions: (index: number) => VirtualScrollerItemOptions;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom loader template.
|
||||
|
@ -571,7 +571,7 @@ export interface DropdownSlots {
|
|||
* Clear icon click function.
|
||||
* @param {Event} event - Browser event
|
||||
*/
|
||||
onClick(event: Event): void;
|
||||
onClick: (event: Event) => void;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom dropdown icon template.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue