0.0.4 • Published 9 months ago

@nadlowebagentur/capacitor-in-app-browser v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

capacitor-in-app-browser

Open InApp webView based browser

Install

npm install capacitor-in-app-browser
npx cap sync

API

open(...)

open(options: { url: string; marginTop?: number; }) => Promise<void>
ParamType
options{ url: string; marginTop?: number; }

navigate(...)

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

close()

close() => Promise<void>

addListener('urlChanged', ...)

addListener(eventName: 'urlChanged', listenerFunc: (data: { url: string; }) => void) => Promise<PluginListenerHandle> & PluginListenerHandle

iOS only: Listen for the browser url changed event. It fires when the Browser navigate to other URL.

ParamType
eventName'urlChanged'
listenerFunc(data: { url: string; }) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle

Since: 0.0.1


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>
0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago