84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
公众号中有一个分享给他人的二维码页面,长按时不像其他地方的二维码一样能够弹出微信的菜单,请问一下有相关经验的前辈,这是什么原因?
是不是ionic本身禁止在页面上长按来进行选择复制等操作,所以在图片上面长按时也无法触发微信的相应行为?
知乎上有个同样的问题:http://www.zhihu.com/question/28150871
但是没有人回答T-T
The master in the team solved it: Add an attribute to the img element of the QR code: data-tap-disabled: trueIonic official document explains this attribute: http://ionicframework.com/docs/api/page/tap/
data-tap-disabled: true
This is called tap hold event in jquery mobile. After searching, it seems to be called on-hold event in ionic. Try it and see if it’s right.
How do you use ionic to generate QR codes? I am encountering such a problem now!
The master in the team solved it:
Add an attribute to the img element of the QR code:
data-tap-disabled: true
Ionic official document explains this attribute: http://ionicframework.com/docs/api/page/tap/
This is called tap hold event in jquery mobile. After searching, it seems to be called on-hold event in ionic. Try it and see if it’s right.
How do you use ionic to generate QR codes? I am encountering such a problem now!