开发者

Feature detection within a jQuery plugin?

开发者 https://www.devze.com 2023-01-10 17:43 出处:网络
Is it possible to add somet开发者_如何学Gohing like Modernizr into your own plugin? I\'d like to feature test for certain CSS3 properties without reinventing an already fantastic wheel.Just make Moder

Is it possible to add somet开发者_如何学Gohing like Modernizr into your own plugin? I'd like to feature test for certain CSS3 properties without reinventing an already fantastic wheel.


Just make Modernizr a pre-requisite for your plugin. Some plugins require the jQuery cookie plugin, for example, to operate correctly. This is just a different form of this situation.

0

精彩评论

暂无评论...
验证码 换一张
取 消