Angular 17 (#2422)

This commit is contained in:
Joe Milazzo 2023-11-09 08:06:59 -06:00 committed by GitHub
parent 43f91b123f
commit b8f12116f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 2689 additions and 2212 deletions

View file

@ -1,6 +1,7 @@
import {CdkVirtualScrollViewport} from '@angular/cdk/scrolling';
import {CommonModule, DOCUMENT} from '@angular/common';
import {
afterNextRender,
AfterRenderPhase, AfterViewInit,
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
@ -95,7 +96,6 @@ export class CardDetailLayoutComponent implements OnInit, OnChanges {
@ContentChild('cardItem') itemTemplate!: TemplateRef<any>;
@ContentChild('noData') noDataTemplate!: TemplateRef<any>;
@ViewChild('.jump-bar') jumpBar!: ElementRef<HTMLDivElement>;
@ViewChild('scroller') scroller!: CdkVirtualScrollViewport;
@ViewChild(VirtualScrollerComponent) private virtualScroller!: VirtualScrollerComponent;
@ -110,6 +110,7 @@ export class CardDetailLayoutComponent implements OnInit, OnChanges {
constructor(@Inject(DOCUMENT) private document: Document) {}
@HostListener('window:resize', ['$event'])
@HostListener('window:orientationchange', ['$event'])
resizeJumpBar() {
@ -139,8 +140,6 @@ export class CardDetailLayoutComponent implements OnInit, OnChanges {
this.virtualScroller.refresh();
});
}
}