aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core/src
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2011-08-29 10:25:02 +0000
committerManolo Carrasco <manolo@apache.org>2011-08-29 10:25:02 +0000
commita5cbeed9ca1f085f989628825d4655e4fec943d3 (patch)
treebff2ca0f224a70b6ad8567b58d203797b354e585 /gwtquery-core/src
parentedcf57a2e60410e6e3ff4226dfafee5632326040 (diff)
downloadgwtquery-a5cbeed9ca1f085f989628825d4655e4fec943d3.tar.gz
gwtquery-a5cbeed9ca1f085f989628825d4655e4fec943d3.zip
update lazy interface
Diffstat (limited to 'gwtquery-core/src')
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java
index b2d1d37e..946a11e3 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java
@@ -585,11 +585,14 @@ public interface LazyGQuery<T> extends LazyBase<T>{
/**
* Return a style property on the first matched element.
*
- * The parameter force has a special meaning here: - When force is false,
- * returns the value of the css property defined in the style attribute of the
- * element. - Otherwise it returns the real computed value.
+ * The parameter force has a special meaning here:
+ * <ul>
+ * <li>When force is false, returns the value of the css property
+ * defined in the style attribute of the element.
+ * <li>Otherwise it returns the real computed value.
+ * </ul>
*
- * For instance if you define 'display=none' not in the element style but in
+ * For instance if you don't define 'display=none'in the element style but in
* the css stylesheet, it returns an empty string unless you pass the
* parameter force=true.
*/
@@ -1864,7 +1867,7 @@ public interface LazyGQuery<T> extends LazyBase<T>{
/**
* Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
*/
- void resize(Function f);
+ LazyGQuery<T> resize(Function f);
/**
* Restore a set of previously saved Css properties in every matched element.