weixin-webview-jssdk

0.0.2 • Public • Published

weixin-webview-jssdk

A wrapper of WeiXin JSSDK 1.3.2, mainly for developing WeiXin mini-programs in the <web-view> .

微信JSSDK 1.3.2的一个npm模块包装,以供在微信小程序 <web-view> 组件中开发。

The original version is from https://res.wx.qq.com/open/js/jweixin-1.3.2.js , published in https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html .

原版代码来自 https://res.wx.qq.com/open/js/jweixin-1.3.2.js ,它在web-view的说明页被列出:https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html .

Installing 安装

npm install weixin-webview-jssdk

Usage 使用

Just import and use it exactly same as the original one.

导入后用法和原版相同。

import wx from "weixin-webview-jssdk";

// ...
    wx.miniProgram.navigateTo(...)
// ...

Package Sidebar

Install

npm i weixin-webview-jssdk

Weekly Downloads

45

Version

0.0.2

License

ISC

Unpacked Size

25.7 kB

Total Files

6

Last publish

Collaborators

  • zzxnhackman