How to call HTML DOM method from code typescript file?


#1

I want to call click method on automatically when HTML renders completely. To call HTML DOM method I tried both ngAfterViewInit() as well as ionViewDidEnter() but DOM method click() is not invoked automatically. Please help.