@terra-dev/is-touch-device
Checking is the device support multi-touch.
Usage
import { isTouchDevice } from '@terra-dev/is-touch-device';
if (isTouchDevice()) {
// DO SOMETHING
}
@terra-dev/is-touch-device
Checking is the device support multi-touch.
import { isTouchDevice } from '@terra-dev/is-touch-device';
if (isTouchDevice()) {
// DO SOMETHING
}
npm i @terra-dev/is-touch-device
github.com/Anchor-Protocol/anchor-web-app/tree/master/packages/src/@terra-dev/is-touch-device
0
0.20.1
Apache-2.0
3.71 kB
5