i am using div tag in html
<div *ngIf="mydummy">hi</div>
and in ts file and by default this.mydummy is true(now div tag is visible)
but i do set-timeout function to make value equal to false the ngIf not working it acts like one time use. so is there any option to achieve this simple task
setTimeout(function(){
this.mydummy = false
}, 10000);