Just use the old properties on this. For example, a basic widget would look something like this:
$.widget('some_name', {
options: { },
_create: function() {
this.internal_value = 11;
},
frobnicate_by: function(this_much) {
this.internal_value += this_much;
}
});
this . , this.internal_value 11 $(s).some_name('frobnicate_by', 23) internal_value.
, , this.changer.
options , , - . , ; factory , OO .