Skip to content

package 0.0.5 - supports capacitor v3; package 0.0.6 - capacitor v4; package 0.0.7 - capacitor v5; package 0.0.8 - capacitor v6

Notifications You must be signed in to change notification settings

Nikita-schetko/capacitor-suppress-longpress-gesture

Repository files navigation

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>


About

package 0.0.5 - supports capacitor v3; package 0.0.6 - capacitor v4; package 0.0.7 - capacitor v5; package 0.0.8 - capacitor v6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •