Vue-slider-component: What changed in 3.0?

Created on 4 Dec 2019  路  3Comments  路  Source: NightCatSama/vue-slider-component

Hello!

Big fan of this library, we find it really useful.

However, it breaks if I update from v2 to v3.

There's no release: https://github.com/NightCatSama/vue-slider-component/releases
And the changelog doesn't go back to 3.0.0: https://github.com/NightCatSama/vue-slider-component/blob/master/CHANGELOG.md

What breaking changes were there?

bug

Most helpful comment

Sorry, I didn't do the migration document.

The general usage is consistent, I listed the individual differences:

  • Need to introduce the theme file separately. docs
  • tooltip-merge is no longer supported.
  • formatter => tooltip-formatter
  • Added marks for better control of labels and marks.
  • Solved this intractable disease. Exceptions

More differences can be found in the documentation:
v3.x
v2.x

All 3 comments

Sorry, I didn't do the migration document.

The general usage is consistent, I listed the individual differences:

  • Need to introduce the theme file separately. docs
  • tooltip-merge is no longer supported.
  • formatter => tooltip-formatter
  • Added marks for better control of labels and marks.
  • Solved this intractable disease. Exceptions

More differences can be found in the documentation:
v3.x
v2.x

If you happen to use tooltip-merge, it is currently only available through slots. Of course you can also choose not to upgrade to 3.x.

https://github.com/NightCatSama/vue-slider-component/issues/412

The input event in 2.x was replaced with change event. It affects applications using value prop and input event instead of v-model to bind slider value.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

advancedlogic picture advancedlogic  路  7Comments

senner007 picture senner007  路  5Comments

isaacjoy picture isaacjoy  路  4Comments

rvasoya picture rvasoya  路  9Comments

joshua-larks picture joshua-larks  路  5Comments