From 13aac7d8ba6b4a4c697611f392a353b2e0aa85d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Fri, 18 Dec 2015 15:08:20 -0500 Subject: [PATCH] jQuery.effects.getBaseline: Initial docs Fixes gh-289 --- entries/jQuery.effects.getBaseline.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 entries/jQuery.effects.getBaseline.xml 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.

+
+ + +
+