I am using this jquery plugin . I would like to disable this behavior on mobile devices. How to do it?
问问题
750 次
1 回答
2
只有当视口达到一定大小时,您才能使用MatchMedia加载插件。
if (matchMedia('only screen and (min-width: 480px)').matches) {
// enable plugin
}
于 2015-07-29T18:26:21.300 回答