From a5cbeed9ca1f085f989628825d4655e4fec943d3 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Mon, 29 Aug 2011 10:25:02 +0000 Subject: [PATCH] update lazy interface --- .../com/google/gwt/query/client/LazyGQuery.java | 13 ++++++++----- 1 file 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 extends LazyBase{ /** * 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: + *
    + *
  • 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. + *
* - * 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 extends LazyBase{ /** * Bind an event handler to the "resize" JavaScript event, or trigger that event on an element. */ - void resize(Function f); + LazyGQuery resize(Function f); /** * Restore a set of previously saved Css properties in every matched element. -- 2.39.5