capacitor-suppress-longpress-gesture
v0.0.8
Published
This plugin allows to suppress longpress gesture in iOS system. Designed for capacitor v6, and support previous versions also. Check readme.md
Downloads
1,374
Maintainers
Readme
capacitor-suppress-longpress-gesture
This plugin allows to suppress longpress gesture in iOS system. Designed for capacitor v5 (Thanks to @mariusbolik)
latest 0.0.8 - capacitor v6 support 0.0.7 - capacitor v5 support 0.0.6 - support capacitor v4 0.0.5 - supports capacitor v3
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; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
activateService()
activateService() => Promise<string>
Returns: Promise<string>
deactivateService()
deactivateService() => Promise<string>
Returns: Promise<string>