@hanwha-ss1/capacitor-plugin-hanwha-openbrowser
v0.0.5
Published
openbrowser
Downloads
6
Readme
capacitor-plugin-hanwha-openbrowser
OpenBrowser
Install
npm install capacitor-plugin-hanwha-openbrowser
npx cap sync
Example
import { OpenBrowser } from 'capacitor-plugin-hanwha-openbrowser';
await OpenBrowser.open({url: 'https://naver.com', ext: false});
API
open(...)
open(options: { url: string; ext: boolean; }) => Promise<{ value: string; }>
| Param | Type | Description |
| ------------- | ------------------------------------------- | -------------------------------------------------- |
| options
| { url: string; ext: boolean; } | url : "웹 페이지 주소" ext : false(내부 웹뷰), true(외부 브라우저) |
Returns: Promise<{ value: string; }>