Skip to content

Commit 59f595a

Browse files
Datepicker: Add documentation for onUpdateDatepicker callback option
Closes gh-334 Ref jquery/jquery-ui#1912
1 parent 4ee4834 commit 59f595a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

entries/datepicker.xml

+4
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,10 @@
458458
<argument name="inst" type="Object"/>
459459
<desc>Called when the datepicker is selected. The function receives the selected date as text and the datepicker instance as parameters. <code>this</code> refers to the associated input field.</desc>
460460
</option>
461+
<option name="onUpdateDatepicker" type="Function" default="null">
462+
<argument name="inst" type="Object"/>
463+
<desc>Called when the datepicker widget's DOM is updated. The function receives the datepicker instance as the only parameter. <code>this</code> refers to the associated input field.</desc>
464+
</option>
461465
</options>
462466
<methods>
463467
<xi:include href="../includes/widget-method-destroy.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>

0 commit comments

Comments
 (0)