re: How to Programmatically Trigger 'Click' Event in Angular 4 & 5 VIEW POST

FULL DISCUSSION
 

Hi!

I don't know if this is still active but I have some questions.

I've tried your approach above and also the one Matteo Rigon provided. Both of them resulted to 'ERROR TypeError: Cannot read property 'click' of undefined'. Did I missed out something before applying these approaches to trigger click event? I'm using Angular 7 by the way.

Thanks

code of conduct - report abuse