@falconeta/capacitor-shake
TypeScript icon, indicating that this package has built-in type declarations

6.0.0 • Public • Published

@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>
Param Type
eventName 'shake'
listenerFunc () => void

Returns: Promise<PluginListenerHandle>


Interfaces

PluginListenerHandle

Prop Type
remove () => Promise<void>

Package Sidebar

Install

npm i @falconeta/capacitor-shake

Weekly Downloads

60

Version

6.0.0

License

MIT

Unpacked Size

16.3 kB

Total Files

25

Last publish

Collaborators

  • falconeta-dev