google maps - Angular 4 Run Code After *NgIf Complete -
i'm developing application need run code after *ngif has finished removing component dom. specifically, need resize google map, once component in question removed dom. possible? thanks!
after flip switch false use settimeout , run resize code there. more information, check out answer.
this.show = false; settimeout(() => { this.resizesomething(); })
Comments
Post a Comment