V3.1
Delete:
- Delete deltaX option property
Add
- Add rails for scrollbars .
options
-
railBackground: Set the rail's background
-
railOpacity: Set the rail's opacicy
Action
You can click or touch the rail to scroll to the position you want.
- Add padding options for scrollContentStyle
e.g.
// ...
scrollContentStyle: {
padding: true
}
// ...to give a padding to a scroll content to prevent being shaded by scrollbar.
- Add the global config to set a set of vuescroll styles. To do this, you should change the
Vue.prototype.vuescrollConfige.g.
Vue.prototype.$vuescrollConfig.hBar.background = "#000";
Vue.prototype.$vuescrollConfig.scrollContent.padding = true;All details global configs can be found in docs.
Optimize
- Optimize scrolling experience both in PC and Mobile.