up
This commit is contained in:
parent
1c87abbf2a
commit
fc5e5e800f
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ export class Ng2FittextDirective implements AfterViewInit, OnInit, OnChanges, Af
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnChanges(changes: SimpleChanges): void {
|
ngOnChanges(changes: any): void {
|
||||||
if (changes.modelToWatch) {
|
if (changes.modelToWatch) {
|
||||||
// change of model to watch - call ngAfterViewInit where is implemented logic to change size
|
// change of model to watch - call ngAfterViewInit where is implemented logic to change size
|
||||||
setTimeout(_ => this.ngAfterViewInit() );
|
setTimeout(_ => this.ngAfterViewInit() );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue