Open wesley3523 opened 5 years ago
Same here. This would be great.
I found out how you can use this plugin in Vue.js
In app.ts
import { RangeSeekBar } from "nativescript-range-seek-bar/range-seek-bar";
...
Vue.registerElement('RangeSeekBar', () => RangeSeekBar);
in component.vue
<RangeSeekBar :minStartValue="(item.currentMin / item.absoluteMax) * 100" :maxStartValue="(item.currentMax / item.absoluteMax) * 100" @rangeSeekBarFinalValue="test" />
Addionally, you can't set a maxValue greater than 100 with Vue.js. So you have to convert the values into percents. Maybe it's related to this here: https://github.com/WorldDownTown/RangeSeekSlider/issues/61.
I found out how you can use this plugin in Vue.js
In app.ts
import { RangeSeekBar } from "nativescript-range-seek-bar/range-seek-bar"; ...
Hi @AlexBa I'm facing this issue:
EDIT: Confirmed it works with the following code:
Vue.registerElement('RangeSeekBar', () => require('nativescript-range-seek-bar/range-seek-bar').RangeSeekBar);
I am using vue in nativescript. Can you also provide this on Nativescript Vue?