Skip to content

Commit 4c1b2b3

Browse files
committed
Widget: Clarification of the version property and grammatical changes.
1 parent bee024f commit 4c1b2b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entries/jQuery.widget.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,16 @@
103103
<strong>options</strong>: An object containing the options currently being used by the widget. On instantiation, any options provided by the user will automatically be merged with any default values defined in <code>$.myNamespace.myWidget.prototype.options</code>. User specified options override the defaults.
104104
</li>
105105
<li>
106-
<strong>uuid</strong>: A unique, integer identifier for the widget.
106+
<strong>uuid</strong>: A unique integer identifier for the widget.
107107
</li>
108108
<li>
109-
<strong>version</strong>: The string version of jQuery UI this widget is using.
109+
<strong>version</strong>: The string version of the widget. For jQuery UI widgets this will be set to the version of jQuery UI the widget is using. Widget developers have to set this property in their prototype explicitly.
110110
</li>
111111
<li>
112112
<strong>widgetEventPrefix</strong>: The prefix prepended to the name of events fired from this widget. For example the <code>widgetEventPrefix</code> of the <a href="/draggable">draggable widget</a> is <code>"drag"</code>, therefore when a draggable is created, the name of the event fired is <code>"dragcreate"</code>. By default the <code>widgetEventPrefix</code> of a widget is its name. <em>Note: This property is deprecated and will be removed in a later release. Event names will be changed to widgetName:eventName (e.g. <code>"draggable:create"</code>.</em>
113113
</li>
114114
<li>
115-
<strong>widgetFullName</strong>: The full name of the widget including the namespace. For <code>$.widget( "myNamespace.myWidget", {} )</code>, <code>widgetFullName</code> will be <code>"myNamespace.myWidget"</code>.
115+
<strong>widgetFullName</strong>: The full name of the widget including the namespace. For <code>$.widget( "myNamespace.myWidget", {} )</code>, <code>widgetFullName</code> will be <code>"myNamespace-myWidget"</code>.
116116
</li>
117117
<li>
118118
<strong>widgetName</strong>: The name of the widget. For <code>$.widget( "myNamespace.myWidget", {} )</code>, <code>widgetName</code> will be <code>"myWidget"</code>.

0 commit comments

Comments
 (0)