Fix i18n generation

pull/2530/head
Chocobozzz 2020-02-28 14:09:18 +01:00
parent 0b204d7e44
commit 340ce5c52f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 3 deletions

View File

@ -28,11 +28,12 @@ export interface ListOverflowItem {
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ListOverflowComponent<T extends ListOverflowItem> implements AfterViewInit {
@Input() items: T[]
@Input() itemTemplate: TemplateRef<{item: T}>
@ViewChild('modal', { static: true }) modal: ElementRef
@ViewChild('itemsParent', { static: true }) parent: ElementRef<HTMLDivElement>
@ViewChildren('itemsRendered') itemsRendered: QueryList<ElementRef>
@Input() items: T[]
@Input() itemTemplate: TemplateRef<{item: T}>
showItemsUntilIndexExcluded: number
active = false
@ -55,7 +56,7 @@ export class ListOverflowComponent<T extends ListOverflowItem> implements AfterV
return !!this.showItemsUntilIndexExcluded
}
@HostListener('window:resize', ['$event'])
@HostListener('window:resize')
onWindowResize () {
this.isInTouchScreen = !!this.screenService.isInTouchScreen()
this.isInMobileView = !!this.screenService.isInMobileView()