I am having the exact same issue as this user and nobody is able to explain the error why button clicks are not firing in Angular 17. Everybody is just saying "works fine for me" or "try this". Well, none of that works. I get 0 error messages and this is driving me insane. Right now my buttons don t work unless they re an <a href> tag. I m looking for someone to explain what the error here is and how to resolve it.
我有一个叫做“功能网吧”。 由于某种原因,这次活动根本不可行。 这里是法典:TS文档:
fun(): void {
this.test = You are my hero! ;
alert( hello )
}
和超文本:
<button type="button" (click)="fun()">Click me!</button>
我对我做错做的事情没有任何想法。 请帮助我。