0.0.6 • Published 8 years ago
bdshare v0.0.6
bdshare
A shell of bdshare.
Install
$ npm i bdshare
Usage
import bdshare from 'bdshare'
const dom = document.querySelector('a')
dom.onclick = function () {
bdshare.tsina({
bdText: 'Share to weibo',
bdUrl: 'http://your-web-site',
bdPic: 'http://share-with-pictures'
})
}
Options
- bdText
- bdUrl
- bdPic
Share List
- qzone
- weixin
- tsina
- baidu
- renren
- tqq
- kaixin001
- tqf
- hi
- douban
- tsohu
- msn
- thx
- taobao
- tieba
- buzz
- sohu
- t163
- qy
- meilishuo
- mogujie
- diandian
- huaban
- leho
- share189
- duitang
- hx
- tfh
- fx
- tuita
- ff
- wealink
- youdao
- xg
- ty
- fbook
- twi
- ms
- deli
- s139
- s51
- zx