@saundapp/widgetsbridge
v0.0.5
Published
Sync data between capacitor and native code to run widgets
Downloads
317
Readme
@saundapp/widgetsbridge
Sync data between capacitor and native code to run widgets
Install
npm install @saundapp/widgetsbridge
npx cap sync
API
setItem(...)
setItem(options: { key: string; group: string; value: string; }) => Promise<void>
| Param | Type |
| ------------- | ----------------------------------------------------------- |
| options
| { key: string; group: string; value: string; } |
reloadTimeline(...)
reloadTimeline(options: { kind: string; javaName?: string; }) => Promise<void>
| Param | Type |
| ------------- | ------------------------------------------------- |
| options
| { kind: string; javaName?: string; } |
reloadAllTimelines(...)
reloadAllTimelines(options: { javaName?: string; }) => Promise<void>
| Param | Type |
| ------------- | ----------------------------------- |
| options
| { javaName?: string; } |