@winner-fed/native-bridge-methods

Invest in the native bridging method provided by winner APP

Usage no npm install needed!

<script type="module">
  import winnerFedNativeBridgeMethods from 'https://cdn.skypack.dev/@winner-fed/native-bridge-methods';
</script>

README

Native Bridge Methods

客户端桥接接口JS-SDK

支持 callback 及 Promise 化使用

object param

Property Type Description
prop any 具体场景参数
[success] function 接口调用成功的回调函数
[fail] function 接口调用失败的回调函数
[complete] function 接口调用结束的回调函数(调用成功、失败都会执行)