floating-window-cap
v1.0.5
Published
FloatingWindowCapacitor is a plugin that enables the creation of fixed floating windows on Android apps, making it easy to display important information persistently and conveniently.
Downloads
2
Readme
floating-window-cap
FloatingWindowCapacitor is a plugin that enables the creation of fixed floating windows on Android apps, making it easy to display important information persistently and conveniently.
Install
npm install floating-window-cap
npx cap sync
API
showFloatingWindow(...)
showFloatingWindow(options: { url: string; }) => Promise<{ url: string; }>
| Param | Type |
| ------------- | ----------------------------- |
| options
| { url: string; } |
Returns: Promise<{ url: string; }>
closeFloatingWindow()
closeFloatingWindow() => Promise<null>
Returns: Promise<null>