6.0.0 • Published 6 days ago

@falconeta/capacitor-shake v6.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 days ago

@falconeta/capacitor-shake

Detect shake gesture in device

Install

npm install @falconeta/capacitor-shake
npx cap sync

API

addListener('shake', ...)

addListener(eventName: "shake", listenerFunc: () => void) => Promise<PluginListenerHandle>
ParamType
eventName'shake'
listenerFunc() => void

Returns: Promise<PluginListenerHandle>


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>