Is there a global reference to the widget itself once it's been created using the jQuery UI widget factory pattern?
I've tried doing things like setting a widget var equal to the widget:
$.widget("my.widget", {
_widget: this,
_create: function () {
// _widget should == the whole widget
}
});
I've also tried grabbing the context of the widget through jQuery like:
$.widget("my.widget")
I can't figure out how you're supposed to be able to call back to the widget, while inside of the widget.