File tree Expand file tree Collapse file tree 1 file changed +5
-18
lines changed Expand file tree Collapse file tree 1 file changed +5
-18
lines changed Original file line number Diff line number Diff line change 2
2
<entries >
3
3
<desc >Get the value of a property for the first element in the set of matched elements or set one or more properties for every matched element.</desc >
4
4
<entry type =" method" name =" prop" >
5
- <return type =" String" />
6
- <return type =" Integer" />
7
- <return type =" Boolean" />
5
+ <return type =" Anything" />
8
6
<title >.prop()</title >
9
7
<signature >
10
8
<added >1.6</added >
@@ -115,10 +113,7 @@ $( "input" ).change(function() {
115
113
<argument name =" propertyName" type =" String" >
116
114
<desc >The name of the property to set.</desc >
117
115
</argument >
118
- <argument name =" value" >
119
- <type name =" String" />
120
- <type name =" Number" />
121
- <type name =" Boolean" />
116
+ <argument name =" value" type =" Anything" >
122
117
<desc >A value to set for the property.</desc >
123
118
</argument >
124
119
</signature >
@@ -134,17 +129,9 @@ $( "input" ).change(function() {
134
129
<desc >The name of the property to set.</desc >
135
130
</argument >
136
131
<argument name =" function" type =" Function" >
137
- <argument name =" index" type =" Integer" />
138
- <argument name =" oldPropertyValue" >
139
- <type name =" String" />
140
- <type name =" Number" />
141
- <type name =" Boolean" />
142
- </argument >
143
- <return >
144
- <type name =" String" />
145
- <type name =" Number" />
146
- <type name =" Boolean" />
147
- </return >
132
+ <argument name =" index" type =" Integer" />
133
+ <argument name =" oldPropertyValue" type =" Anything" />
134
+ <return type =" Anything" />
148
135
<desc >A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword <code >this</code > refers to the current element.</desc >
149
136
</argument >
150
137
</signature >
You can’t perform that action at this time.
0 commit comments