Ok so I am using Gridster and I am trying to use touchstart for a button in my Angular 11 app. In the gridster example the code looks very similar to what I am using in my app.
<button mat-icon-button mat-raised-button class="remove-button" (mousedown)="removeItem($event, item)" (touchstart)="removeItem($event, item)">
However I am getting the following error in WebStorm
Event touchstart is not emitted by any applicable directives nor by
button element
Does anyone know the reason this may be happening? I looked through the gridster repo and it doesn't look like anything special was included, but I could be missing it. The repo is located here for reference
https://github.com/tiberiuzuld/angular-gridster2/tree/master/src/app/sections/rtl
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…