File tree 2 files changed +8
-5
lines changed 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 215
215
<desc >disable a checkboxradio.
216
216
</desc >
217
217
</method >
218
- <method name =" refresh" >
219
- <example >$( ".selector" ).prop( "checked", true ).checkboxradio( "refresh" );</example >
220
-
221
- <desc >update the checkboxradio.
218
+ <method name =" refresh" suppress-auto-examples =" true" >
219
+ <desc >
220
+ <p >update the checkboxradio.</p >
222
221
<p >If you manipulate a checkboxradio via JavaScript, you must call the refresh method on it to update the visual styling. </p >
223
222
</desc >
223
+ <example >
224
+ <desc >Invoke the refresh method after changing the <code >checked</code > property:</desc >
225
+ <code >$( ".selector" ).prop( "checked", true ).checkboxradio( "refresh" );</code >
226
+ </example >
224
227
</method >
225
228
</methods >
226
229
<example >
Original file line number Diff line number Diff line change 22
22
"grunt" : " 0.3.17" ,
23
23
"grunt-clean" : " 0.3.0" ,
24
24
"grunt-wordpress" : " 1.0.7" ,
25
- "grunt-jquery-content" : " 0.9.0 " ,
25
+ "grunt-jquery-content" : " 0.10.4 " ,
26
26
"grunt-check-modules" : " 0.1.0" ,
27
27
"grunt-contrib-watch" : " 0.1.4"
28
28
},
You can’t perform that action at this time.
0 commit comments