Skip to content

V3.1

Choose a tag to compare

@wangyi7099 wangyi7099 released this 26 Jan 06:09
· 625 commits to master since this release

Delete:

  • Delete deltaX option property

Add

  • Add rails for scrollbars .

options

  1. railBackground: Set the rail's background

  2. 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.vuescrollConfig e.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.