Skip to content

Commit 8b35404

Browse files
committed
jQuery.effects.scaledDimensions: Initial docs
Ref gh-242 Ref gh-288
1 parent a3c0b93 commit 8b35404

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0"?>
2+
<entries>
3+
<entry type="method" name="jQuery.effects.scaledDimensions" return="Object" added="1.12">
4+
<title>jQuery.effects.scaledDimensions()</title>
5+
<signature>
6+
<argument name="element" type="jQuery">
7+
<desc>The element to scale.</desc>
8+
</argument>
9+
<argument name="percent" type="Number">
10+
<desc>The percentage of the original size that the element's dimensions should be scaled to.</desc>
11+
</argument>
12+
<argument name="direction" type="String" optional="true">
13+
<desc>Which direction to scale the element's dimensions; either <code>"horizontal"</code> or <code>"vertical"</code>. If <code>direction</code> is omitted, both dimensions will be scaled.</desc>
14+
</argument>
15+
</signature>
16+
<desc>Scales the dimensions of an element.</desc>
17+
<longdesc>
18+
<p>This method scales the dimensions of an element, returning an object containing <code>height</code>, <code>width</code>, <code>outerHeight</code>, and <code>outerWidth</code> properties. The element is not actually modified.</p>
19+
</longdesc>
20+
<category slug="effects-core"/>
21+
<category slug="effects"/>
22+
</entry>
23+
</entries>

0 commit comments

Comments
 (0)