标签:on() false -- exp scribe 官方文档 ast ott des
<!--Tiles-->
<div id="scroll-div-showall-screenshot" class="row scroll-div" *ngIf="currentData; else assetoeeloading" infiniteScroll
[infiniteScrollDistance]="2" [infiniteScrollThrottle]="50" (scrolled)="onScroll()" [scrollWindow]="false">
<div #allAssetTiles class="col-12 col-sm-12 col-md-6 col-lg-4 col-xl-3 pb-3"
*ngFor="let data of currentData; let last = last">
<amp-oee-tile kpi="oee" [data]="data" [timeframe]="currentTimeFrame"></amp-oee-tile>
</div>
</div>
import { Component, ElementRef, ViewChildren, QueryList, OnInit, OnDestroy, AfterViewInit } from '@angular/core';
export class OeeOverviewComponent implements OnInit, OnDestroy, AfterViewInit {
@ViewChildren('allAssetTiles') allAssetTiles: QueryList<any>;
ngAfterViewInit() {
this.allAssetTiles.changes.subscribe(t => {
this.scrollToPreviousPosition();
});
}
}
标签:on() false -- exp scribe 官方文档 ast ott des
原文地址:https://www.cnblogs.com/wyp1988/p/11435285.html