将延迟加载应用于角形材料网格列表

这是我的网格列表。我想在页面滚动时将图像加载到网格中。我该怎么做?

        <mat-grid-tile class="grid-tile" *ngFor="let url of urlsArray" [colspan]="1" [rowspan]="1">

          <mat-list>

            <mat-list-item>

                    <img mat-card-image src="{{url}}"> 

            </mat-list-item>

          </mat-list>

        </mat-grid-tile>
vorlor 回答:将延迟加载应用于角形材料网格列表

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3167536.html

大家都在问