capacitor-suppress-longpress-gesture
This plugin allows to suppress longpress gesture in iOs system. Designed for capacitor v3 and also supports capacitor v4 (Thanks to @mariusbolik)
Install
npm install capacitor-suppress-longpress-gesture
npx cap sync
Usage
Just import it in your 'app' component, and call activateService() method!
import { SuppressLongpressGesture } from 'capacitor-suppress-longpress-gesture';
SuppressLongpressGesture.activateService();
API
echo(...)
echo(options: { value: string; }) => any
Param | Type |
---|---|
options |
{ value: string; } |
Returns: any
activateService()
activateService() => any
Returns: any
deactivateService()
deactivateService() => any
Returns: any