ing
This commit is contained in:
@@ -6,6 +6,7 @@ import { Directive, AfterViewInit, Input, HostListener, ElementRef, ChangeDetect
|
||||
selector: '[of-auto-height]'
|
||||
})
|
||||
export class AutoHeightDirective implements OnInit, OnDestroy, AfterViewInit {
|
||||
@Input() key: string;
|
||||
@Input() footerElement = null;
|
||||
|
||||
@HostListener('window:resize', ['$event'])
|
||||
@@ -29,6 +30,10 @@ export class AutoHeightDirective implements OnInit, OnDestroy, AfterViewInit {
|
||||
ngOnDestroy(): void {
|
||||
}
|
||||
|
||||
onVisible(event) {
|
||||
console.log('visibilitychange');
|
||||
}
|
||||
|
||||
/**
|
||||
* forceCalculate
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user