Databases Reference
In-Depth Information
1. $('#bar').toggleFontSize(): This will attach the widget to the object and
toggle the font size to the default 40px since no option was passed in as
shown in Figure 8-16. Notice how both the _create and _init functions
were called.
Figure 8-16. jQuery UI Widget Factory demo: step 1
 
Search WWH ::




Custom Search