admin管理员组文章数量:1326344
pointer-events:none isn't functioning in ie, yet
Modernizr.testAllProps('pointerEvents');
returns true in ie. Please help me make ie tell the truth, or if it is telling the truth why can't I implement it like I can in other browsers?
Thanks you.
pointer-events:none isn't functioning in ie, yet
Modernizr.testAllProps('pointerEvents');
returns true in ie. Please help me make ie tell the truth, or if it is telling the truth why can't I implement it like I can in other browsers?
Thanks you.
Share Improve this question asked Aug 2, 2012 at 22:47 codelovecodelove 2,0165 gold badges28 silver badges37 bronze badges2 Answers
Reset to default 7Check out https://github./Modernizr/Modernizr/issues/80 where this is discussed along with the detect's testing and results: https://github./ausi/Feature-detection-technique-for-pointer-events/wiki
Are you using a recent build of Modernizr? If so, chime in with a reproducible case on the #80 thread.
Looks like this will be a flag in Modernizr 3+ (v3 is currently in beta beta). The usage is very simple:
if ( Modernizr.csspointerevents ) {
// use pointer events
} else {
// do fallback magic
}
本文标签: javascriptTest pointer events in ie with modernizrStack Overflow
版权声明:本文标题:javascript - Test pointer events in ie with modernizr - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742198186a2431468.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论