1.0.1 • Published 6 years ago
zhf.whether-disable-scroll v1.0.1
是否禁止浏览器滚动(手机端和pc端都可以使用)
const whetherDisableScroll = require('zhf.whether-disable-scroll');
whetherDisableScroll.noScroll(); // 禁止滚动
whetherDisableScroll.yesScroll(); // 解除禁止滚动
const whetherDisableScroll = require('zhf.whether-disable-scroll');
whetherDisableScroll.noScroll(); // 禁止滚动
whetherDisableScroll.yesScroll(); // 解除禁止滚动