Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 423 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 423 Bytes

wechat-share-guide

Usage

html:

  <div class="wechat-share-guide">
    <span>点击右上角分享给好友</span>
  </div>

css:

@import('maizuo-fe/wechat-share-guide');

javascript:

var share = require('maizuo-fe/wechat-share-guide');
$('#el').on('click', function () {
    share.show();
});
wechat.on('share', function () {
    share.hide();
});

License

the MIT License