mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
fix(virtual-scroll): allow null in items prop (#23047)
Co-authored-by: Robert Rhoades <studioromeo@users.noreply.github.com>
This commit is contained in:
@ -71,7 +71,7 @@ export declare interface IonVirtualScroll {
|
|||||||
* entire virtual scroll is reset, which is an expensive operation and
|
* entire virtual scroll is reset, which is an expensive operation and
|
||||||
* should be avoided if possible.
|
* should be avoided if possible.
|
||||||
*/
|
*/
|
||||||
items?: any[];
|
items?: any[] | null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An optional function that maps each item within their height.
|
* An optional function that maps each item within their height.
|
||||||
|
Reference in New Issue
Block a user