You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless I'm missing something, it would be very helpful if this control supported a ng-model attribute. Where your control would update the model when the slider changes. Perhaps use this instead of the "start" attribute in the options.
My app has an existing model e.g. app.maxFileSize
It seems I have to capture on change events and update my model accordingly.
Is this correct?
BTW: nice work on this library!
The text was updated successfully, but these errors were encountered:
geemang2000
changed the title
attach to ng-model
attach to existing ng-model
Nov 5, 2016
@geemang2000 ng-model has its limitations. I've tried to build this directive using it at first. It was a long time ago but I think the problem was that the value could be an array, not just a number.
Anyway directive uses two-way binding and as you can see in examples value passed in start updates automagically.
Unless I'm missing something, it would be very helpful if this control supported a ng-model attribute. Where your control would update the model when the slider changes. Perhaps use this instead of the "start" attribute in the options.
My app has an existing model e.g. app.maxFileSize
It seems I have to capture on change events and update my model accordingly.
Is this correct?
BTW: nice work on this library!
The text was updated successfully, but these errors were encountered: