}\r
\r
/**\r
- * Returns the inner height of the first matched element, including padding\r
- * but not the vertical scrollbar height, border, or margin.\r
+ * @deprecated use innerHeight()\r
*/\r
+ @Deprecated\r
public int clientHeight() {\r
- return get(0).getClientHeight();\r
+ return innerHeight();\r
}\r
\r
/**\r
- * Returns the inner width of the first matched element, including padding\r
- * but not the vertical scrollbar width, border, or margin.\r
+ * @deprecated use innerWidth()\r
*/\r
+ @Deprecated\r
public int clientWidth() {\r
- return get(0).getClientWidth();\r
+ return innerWidth();\r
}\r
\r
/**\r
return -1;\r
}\r
\r
+ /**\r
+ * Returns the inner height of the first matched element, including padding\r
+ * but not the vertical scrollbar height, border, or margin.\r
+ */\r
+ public int innerHeight() {\r
+ return get(0).getClientHeight();\r
+ }\r
+\r
+ /**\r
+ * Returns the inner width of the first matched element, including padding\r
+ * but not the vertical scrollbar width, border, or margin.\r
+ */\r
+ public int innerWidth() {\r
+ return get(0).getClientWidth();\r
+ }\r
+ \r
/**\r
* Insert all of the matched elements after another, specified, set of\r
* elements.\r
LazyGQuery<T> click(Function...f);
/**
- * Returns the inner height of the first matched element, including padding
- * but not the vertical scrollbar height, border, or margin.
+ * @deprecated use innerHeight()
*/
int clientHeight();
/**
- * Returns the inner width of the first matched element, including padding
- * but not the vertical scrollbar width, border, or margin.
+ * @deprecated use innerWidth()
*/
int clientWidth();
*/
int index(Element element);
+ /**
+ * Returns the inner height of the first matched element, including padding
+ * but not the vertical scrollbar height, border, or margin.
+ */
+ int innerHeight();
+
+ /**
+ * Returns the inner width of the first matched element, including padding
+ * but not the vertical scrollbar width, border, or margin.
+ */
+ int innerWidth();
+
/**
* Insert all of the matched elements after another, specified, set of
* elements.