wowguagua-inappbrower
v0.0.4
Published
capacitor inappbrowser
Readme
wowguagua-inappbrower
capacitor inappbrowser
Install
npm install wowguagua-inappbrower
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
openInAppBrowser(...)
openInAppBrowser(options: OpenInAppBrowserOptions) => Promise<void>| Param | Type |
| ------------- | --------------------------------------------------------------------------- |
| options | OpenInAppBrowserOptions |
Interfaces
OpenInAppBrowserOptions
| Prop | Type |
| ----------- | ------------------- |
| url | string |
| title | string |
Configuration
These config values are available:
| Prop | Type | Default
| ----------- | ------------------- | -------
| headerTextColor | string | #242828
| progressBarColor | string | #007AFF
Examples
In capacitor.config.json:
{
"plugins": {
"InAppBrowser": {
"headerTextColor": "#242828",
"progressBarColor": "#007AFF"
}
}
}