Weixin Jssdk
This package has been deprecated
This package has been migrated to @cycjimmy/weixin-jssdk for scoped NPM package. Please switch to @cycjimmy/weixin-jssdk to stay up to date.
Install
# via npm $ npm install weixinjssdk --save # or via yarn $ yarn add weixinjssdk
Use
const WxJssdk = ; const wxJssdk = ; wxJssdk;
More
wxJssdk.setHook
: [Object] Set Hook Functions.getAccessTokenSuccess
: [Promise] Run Hook when get Access_Token success. Please resolve Access_Token.getAccessTokenFromCustom
: [Promise] Run custom task Before get Access_Token from wechat. Please resolve Access_Token.