Javascript jQuery自定义内容滚动速度
我在web应用程序中使用jQuery自定义内容滚动条,但速度有问题。在文档中,我看到了应该使用哪些方法,但对我来说仍然很慢 这是我的密码Javascript jQuery自定义内容滚动速度,javascript,jquery,html,Javascript,Jquery,Html,我在web应用程序中使用jQuery自定义内容滚动条,但速度有问题。在文档中,我看到了应该使用哪些方法,但对我来说仍然很慢 这是我的密码 $(".content").mCustomScrollbar({ theme: "light", }); $(".content").mCustomScrollbar("scrollTo", "bottom", { scrollInertia: 3000 }); 试试下面的代码 $(".content").mCustomS
$(".content").mCustomScrollbar({
theme: "light",
});
$(".content").mCustomScrollbar("scrollTo", "bottom", {
scrollInertia: 3000
});
试试下面的代码
$(".content").mCustomScrollbar({
scrollInertia: 500,
autoHideScrollbar: true,
theme: "light",
advanced: {
updateOnContentResize: true
}
});