Skip to content

Commit e4e2471

Browse files
lboyntonscottgonzalez
authored andcommitted
Position: using function should forward first parameter to css(), not position().
1 parent 16e8806 commit e4e2471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/position.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</property>
4141
<property name="using" default="null">
4242
<desc>
43-
When specified, the actual property setting is delegated to this callback. Receives two parameters: The first is a hash of <code>top</code> and <code>left</code> values for the position that should be set and can be forwarded to <code>.position()</code> or <code>.animate()</code>.
43+
When specified, the actual property setting is delegated to this callback. Receives two parameters: The first is a hash of <code>top</code> and <code>left</code> values for the position that should be set and can be forwarded to <code>.css()</code> or <code>.animate()</code>.
4444
<p>The second provides feedback about the position and dimensions of both elements, as well as calculations to their relative position. Both <code>target</code> and <code>element</code> have these properties: <code>element</code>, <code>left</code>, <code>top</code>, <code>width</code>, <code>height</code>. In addition, there's <code>horizontal</code>, <code>vertical</code> and <code>important</code>, giving you twelve potential directions like <code>{ horizontal: "center", vertical: "left", important: "horizontal" }</code>.</p>
4545
</desc>
4646
<type name="Function"/>

0 commit comments

Comments
 (0)