1.0.0 • Published 1 year ago

floating-window-capacitor v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

floating-window

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
npx cap sync

API

showFloatingWindow(...)

showFloatingWindow(options: { url: string; }) => Promise<{ url: string; }>
ParamType
options{ url: string; }

Returns: Promise<{ url: string; }>


closeFloatingWindow()

closeFloatingWindow() => Promise<null>

Returns: Promise<null>


1.0.0

1 year ago