how to auto click webpage in angular
@ViewChild('myButton') myButton : ElementRef;
triggerClick() {
let el: HTMLElement = this.myButton.nativeElement as HTMLElement;
setTimeout(()=> el.click(), 5000);
}
how to auto click webpage in angular
@ViewChild('myButton') myButton : ElementRef;
triggerClick() {
let el: HTMLElement = this.myButton.nativeElement as HTMLElement;
setTimeout(()=> el.click(), 5000);
}
how to auto click webpage in angular
<button #myButton id="refresh" class="btn- fa fa-refresh" aria-hidden="true" value="referesh" (click)="triggerClick()"> Refresh</button>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us