Using Sharer.js on your project? Let me know!
Sharer.js is a very tiny JS library to create custom social share components on DOM elements for your website. No dependencies.
如何使用QQ分享
<a data-sharer="qq" data-pics="pics" data-title="title" data-desc="description"></a>
如何使用QQ空间分享
<a data-sharer="qzone" data-pics="pics" data-title="title" data-desc="description"></a>
参考 demo
Currently there is no support for AMD/CommonJS right now, but there is a repository which exposes the current Sharer class behaviour.
Please checkout https://github.com/okmttdhr/sharer.npm.js
GPLv3
Checkout the docs page for more info about installing and usage.