Tactil on windows or mac

Hello,
Can we build app with ionic for windows and mac using touch screen, with javascript functions as touchevent (touchstart, touchmove, touchend etc…) ?
And be certain that it will goes well without any mouse, for public terminals (exemple in shopping centers ) ?

Thanks

Most browser will use the correct events without you having to target touch events directly.

You can use standard click events for most things, but can also use “pointer events” as well. Pointer events are recommended instead as they are the modern version of traditional touch events

https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events

1 Like

Thanks for reply !
Is it the same for desktop applications ?

Yep. Pointer events are generic events to account for this.

1 Like