ion-virtual-scroll is not a known element

Discussão em 'Angular' iniciado por manish kumar, Dezembro 9, 2024.

  1. manish kumar

    manish kumar Guest

    <ion-virtual-scroll [items]="churchNewsList" approxItemHeight="120px">
    <ion-item *virtualItem="let news">
    {{ news }}
    </ion-item>
    </ion-virtual-scroll>


    I am getting this error

    Can't bind to 'items' since it isn't a known property of 'ion-virtual-scroll'.
    1. If 'ion-virtual-scroll' is an Angular component and it has 'items' input, then verify that it is part of this module.
    2. If 'ion-virtual-scroll' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.


    how to include it in NgModule as mentioned. Official Doc doesnt state anything like this.

    Continue reading...

Compartilhe esta Página