/**
* Set the height style property of every matched element. It's useful for using 'percent' or 'em'
- * units Example: $(".a").width("100%")
+ * units Example: $(".a").height("100%")
*/
public GQuery height(String height) {
return css("height", height);
return as(Effects).slideDown(millisecs, f);
}
+ /**
+ * Toggle the visibility of all matched elements by adjusting their height and firing an optional
+ * callback after completion. Only the height is adjusted for this animation, causing all matched
+ * elements to be hidden or shown in a "sliding" manner
+ */
+ public Effects slideToggle(Function... f) {
+ return as(Effects).slideToggle(f);
+ }
+
/**
* Toggle the visibility of all matched elements by adjusting their height and firing an optional
* callback after completion. Only the height is adjusted for this animation, causing all matched
return this;
}
+ /**
+ * Set the width style property of every matched element. It's useful for using 'percent' or 'em'
+ * units Example: $(".a").width("100%")
+ */
+ public GQuery width(String width) {
+ return css("width", width);
+ }
+
/**
* Wrap each matched element with the specified HTML content. This wrapping process is most useful
* for injecting additional structure into a document, without ruining the original semantic
/**
* Set the height style property of every matched element. It's useful for using 'percent' or 'em'
- * units Example: $(".a").width("100%")
+ * units Example: $(".a").height("100%")
*/
LazyGQuery<T> height(String height);
* selector that determines the content to be loaded.
*
*/
- LazyGQuery<T> load(String url, Properties data, Function onSuccess);
+ LazyGQuery<T> load(String url, IsProperties data, Function onSuccess);
/**
* Reduce the set of matched elements to all elements before a given position. The position of the
*/
Effects slideDown(int millisecs, Function... f);
+ /**
+ * Toggle the visibility of all matched elements by adjusting their height and firing an optional
+ * callback after completion. Only the height is adjusted for this animation, causing all matched
+ * elements to be hidden or shown in a "sliding" manner
+ */
+ Effects slideToggle(Function... f);
+
/**
* Toggle the visibility of all matched elements by adjusting their height and firing an optional
* callback after completion. Only the height is adjusted for this animation, causing all matched
*/
LazyGQuery<T> width(int width);
+ /**
+ * Set the width style property of every matched element. It's useful for using 'percent' or 'em'
+ * units Example: $(".a").width("100%")
+ */
+ LazyGQuery<T> width(String width);
+
/**
* Wrap each matched element with the specified HTML content. This wrapping process is most useful
* for injecting additional structure into a document, without ruining the original semantic