摘要:
attributes $(this).each(function() { $.each(this.attributes, function() { // this.attributes is not a plain object, but an array // of attribute nodes, which contain both the name and value... 阅读全文
posted @ 2018-12-14 16:32
Shimily
阅读(5394)
评论(0)
推荐(0)
摘要:
在我的记忆中pointer-events就是用来进行事件穿透的,也就是说,如果给父元素设置了pointer-events:none,那么父元素不再监听鼠标事件事件(类似于touch,click这样的)。 需要这样做的情况,通常是我们想“穿透”父层,直接点击子元素时,父元素会当作什么也没有发生一样。 阅读全文
posted @ 2018-12-14 10:49
Shimily
阅读(544)
评论(0)
推荐(0)

浙公网安备 33010602011771号