Databases Reference
In-Depth Information
14.
$('#bar').toggleFontSize('destroy'):
The destroy method removes the
widget from the object and should undo anything that the widget did.
Figure 8-20 shows that
bar
has been reset to its original state.
Figure 8-20. jQuery UI Widget Factory demo: step 6