diff --git a/entries/jQuery.effects.getBaseline.xml b/entries/jQuery.effects.getBaseline.xml new file mode 100644 index 00000000..26e24ce9 --- /dev/null +++ b/entries/jQuery.effects.getBaseline.xml @@ -0,0 +1,20 @@ + + + + jQuery.effects.getBaseline() + + + An two item array containing the vertical and horizontal origin point of the element. Possible values for the vertical (first) item are "top", "middle", and "bottom". Possible values for the horizontal (second) item are "left", "center", and "right". Both items also accept a pixel value based on the dimensions of the element. + + + An objection containing width and height properties for the original dimensions of the element. This parameter is requried when either of the values in origin are numeric. + + + Calculates the baseline of an element based on the provided origin. + +

Values range from 0 for top/left to 1 for bottom/right, though values outside of this range are possible when providing explicit values for the origin.

+
+ + +
+