@nemorize/capacitor-detect-touch-status-bar
v0.0.3
Published
Capacitor 5.x plugin to detect touching iOS status bar
Downloads
9
Readme
@nemorize/capacitor-detect-touch-status-bar
Capacitor 5.x plugin to detect touching iOS status bar
Install
npm install @nemorize/capacitor-detect-touch-status-bar
npx cap sync
API
addListener('touch', ...)
addListener(eventName: 'touch', listenerFunc: TouchStatusBarListener) => Promise<PluginListenerHandle> & PluginListenerHandle
Listen for touch event.
| Param | Type |
| ------------------ | ------------------------------------------------------------------------- |
| eventName
| 'touch' |
| listenerFunc
| TouchStatusBarListener |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Interfaces
PluginListenerHandle
| Prop | Type |
| ------------ | ----------------------------------------- |
| remove
| () => Promise<void> |
Type Aliases
TouchStatusBarListener
(): void