How to get values out of a widget?
Hi,
I'm using the ui.slider widget. I've set the min and max when I
created it. Now later on in a different method I wish to get the min
and max from the slider (it's my controller, want to use it as my
model as well). I just don't get how that can be done?! Even after
trying to modify the source to return it explicitly in a getter
method:
getMax: function() {
return this.options.axis == "horizontal" ? this.options.max.x :
this.options.max.y;
}
Instead I get a jQuery object returned, not the integer value!
thanks,
Chuck