/capacitor-detect-touch-status-bar

Capacitor 5.x plugin to detect touching iOS status bar

Primary LanguageJavaScript

@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