RejownAhmed / vue-custom-range-slider

2 stars 0 forks source link

Parent-Child Communication Limitations #2

Open Max-Ruiz opened 1 year ago

Max-Ruiz commented 1 year ago

Hi Rejown,

I appreciate your code, thanks for writing this component.

I needed two things from this slider that aren't available at the moment:

  1. update the 'progressPosition' from the parent ( I need to update the slider with buttons)
  2. update the parent that the 'progressPosition' has change in the form of a callback (rather than just the v-model-value)

I've made updates to your components and I'm attached the new file here just because I don't know if we'll ever sync up for a pull-request.

Thank you, Max customRangeController.vue.txt

RejownAhmed commented 1 year ago

Hello, Max-Ruiz.

Great to know that you are using this component in your project. I'll definitely, check and update if needed. I appreciate a lot that you have shared the code.

Thank you, Rejown Ahmed Zisan