chainlong-webview-sdk
chianlong webview sdk, based on wk-bridge
Install
npm i @cqlinkoff/webview-sdk
or
<script src="https://unpkg.com/@cqlinkoff/webview-sdk@1.0.3/dist/chainlong-webview-sdk.min.js" type="text/javascript"></script>
Use
// NPM
import ChainLongWebView from '@cqlinkoff/webview-sdk'
const webview = new ChainLongWebView()
// UMD
const webview = new window.ChainLongWebView()
API
webview.close()
- arguments:
null
- return:
null
- throw:
null
- example:
import ChainLongWebView from '@cqlinkoff/webview-sdk'
const webview = new ChainLongWebView()
webview.close()