I'm a little confused as to which _destroy
or destroy
method in a jQuery UI Widget to implement.
In this MSDN Widget Reference it says to implement destroy()
, but in this Tutorial Plus reference it says to implement _destroy()
.
Both references say those methods should return the element to it's pre-widget state. So that part I understand, but why are there two versions of this method in the widget factory?