Merge pull request #2616 from tugcekucukoglu/refactor

Refactor #2542
pull/2621/head
Tuğçe Küçükoğlu 2022-06-02 11:57:48 +03:00 committed by GitHub
commit 8befdb2db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -119,6 +119,12 @@ const AutoCompleteProps = [
default: "null", default: "null",
description: "Style class of the overlay panel." description: "Style class of the overlay panel."
}, },
{
name: "loadingIcon",
type: "string",
default: "pi pi-spinner",
description: "Icon to display in loading state."
},
{ {
name: "virtualScrollerOptions", name: "virtualScrollerOptions",
type: "object", type: "object",

View File

@ -135,6 +135,11 @@ export interface AutoCompleteProps {
* Style class of the overlay panel. * Style class of the overlay panel.
*/ */
panelClass?: any; panelClass?: any;
/**
* Icon to display in loading state.
* Default value is 'pi pi-spinner pi-spin'.
*/
loadingIcon?: string | undefined;
/** /**
* Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it. * Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.
* @see VirtualScroller.VirtualScrollerProps * @see VirtualScroller.VirtualScrollerProps