share.js
share.js copied to clipboard
使用: data-initialized="true" 标签或者 initialized 配置项来禁用自动生成icon功能。
这个在demo都不能跑
DEMO: http://overtrue.me/share.js/

为啥我看到的是OK的呢?
我猜你是把 “不生成icon” 理解错了,这里的不生成是不由 js 来创建 icon 的 dom, 只不过我例子里的图标是css生成的,并没有创建dom的过程。
是demo上面a标签的href没有被加上链接,
On Tue, May 3, 2016 at 6:18 PM, 安正超 [email protected] wrote:
DEMO: http://overtrue.me/share.js/
[image: image] https://cloud.githubusercontent.com/assets/1472352/14980437/307d0e5e-115b-11e6-8e38-e915fb03d069.png
为啥我看到的是OK的呢?
我猜你是把 “不生成icon” 理解错了,这里的不生成是不由 js 来创建 icon 的 dom, 只不过我例子里的图标是css生成的,并没有创建dom的过程。
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/overtrue/share.js/issues/31#issuecomment-216488413
@VictoryWind

- [x]
-
- 昨天我用gmail回的,可能图片看不到

- 昨天我用gmail回的,可能图片看不到
我也遇到了 相同的问题 就是href 是空的。。
http://overtrue.me/share.js/dist/js/share.min.js用这个JS,再换上最新的jQuery就可以了