Skip to content

Commit afd2923

Browse files
committed
Docmument the uselessness of native change events on widgets (jquery#12)
1 parent 73466cb commit afd2923

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

entries/autocomplete.xml

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
</ul>
3636
</longdesc>
3737
<note id="functional-css"/>
38+
<note id="native-change-warning"/>
3839
<added>1.8</added>
3940
<options>
4041
<option name="appendTo" type="Selector" default="null" example-value='"#someElem"'>

entries/datepicker.xml

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
</ul>
4949
</longdesc>
5050
<note id="functional-css"/>
51+
<note id="native-change-warning"/>
5152
<added>1.0</added>
5253
<options>
5354
<option name="altField" default='""' example-value='"#actualDate"'>

entries/spinner.xml

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
</ul>
3030
</longdesc>
3131
<note id="functional-css"/>
32+
<note id="native-change-warning"/>
3233
<added>1.9</added>
3334
<options>
3435
<option name="culture" type="String" default="null" example-value='"fr"'>

notes.xsl

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<xsl:when test="@id = 'functional-css'">
55
This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.
66
</xsl:when>
7+
<xsl:when test="@id = 'native-change-warning'">
8+
This widget manipulates its element's value programmatically, therefore a native change may not be fired when the element's value changes.
9+
</xsl:when>
710
</xsl:choose>
811
</xsl:template>
912
</xsl:stylesheet>

0 commit comments

Comments
 (0)