share.js icon indicating copy to clipboard operation
share.js copied to clipboard

使用: data-initialized="true" 标签或者 initialized 配置项来禁用自动生成icon功能。

Open echo-4313 opened this issue 9 years ago • 6 comments

这个在demo都不能跑

echo-4313 avatar May 03 '16 10:05 echo-4313

DEMO: http://overtrue.me/share.js/

image

为啥我看到的是OK的呢?

我猜你是把 “不生成icon” 理解错了,这里的不生成是不由 js 来创建 icon 的 dom, 只不过我例子里的图标是css生成的,并没有创建dom的过程。

overtrue avatar May 03 '16 10:05 overtrue

是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

echo-4313 avatar May 03 '16 11:05 echo-4313

@VictoryWind image

overtrue avatar May 04 '16 01:05 overtrue

  • [x]
    1. 昨天我用gmail回的,可能图片看不到 demo

echo-4313 avatar May 04 '16 02:05 echo-4313

我也遇到了 相同的问题 就是href 是空的。。

astounded avatar May 11 '16 03:05 astounded

http://overtrue.me/share.js/dist/js/share.min.js用这个JS,再换上最新的jQuery就可以了

mengziliang avatar Jul 06 '17 09:07 mengziliang