Home > Web Front-end > JS Tutorial > What should I do if the mui frame page cannot be scrolled?

What should I do if the mui frame page cannot be scrolled?

小云云
Release: 2018-01-27 09:55:39
Original
2769 people have browsed it

This article mainly shares with you a solution to the problem that the mui framework page cannot be scrolled (recommended). It has a good reference value and I hope it will be helpful to everyone. Let’s follow the editor to take a look, I hope it can help everyone.

You only need to initialize it mui.init();

Add the following code:

(function($){
 $(".mui-scroll-wrapper").scroll({
  //bounce: false,//滚动条是否有弹力默认是true
  //indicators: false, //是否显示滚动条,默认是true
 }); 
})(mui);
Copy after login

Related recommendations:

javascript - How to solve the problem that dynamically inserted elements in iscroll.js scrolling container cannot be scrolled?

The above is the detailed content of What should I do if the mui frame page cannot be scrolled?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template