0.1.2 • Published 7 years ago

in-share v0.1.2

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

in-share

in开发分享组件

如何使用?

var inshare = require('in-share')
inshare({
	shareTitle:'',//分享标题[必填]
	shareDesc:'',//分享描述[选填]
	shareLink:'',//分享链接[选填]
	shareImg:'',//分享图片[选填]
	debug:false//是否开启debug[选填][默认为false]
})

支持平台

微信,qq,in

注意事项

  • 微信分享下要引入whatwg-fetch,确保fetch兼容性
  • 微信分享有安全域名问题,可以开启debug调试
  • qq分享的链接必须和当前网页同域名