GWT jQuery = GQuery

April 3rd, 2008 - Written by in News

GWT guru Ray Cromwell has been busy working on a jQuery clone called GQuery, which takes advantage of GWT 1.5’s new features. With it, you can easily perform various DOM manipulations in GWT using a syntax like this:

public void onModuleLoad() {  
  $("div").css("color", "red").click(new Function() {  
    public void f(Element e) {  
      Window.alert("Hello");  
       $(e).as(Effects).fadeOut();  
    }  
  });  
}

The project page is up at , but Ray is waiting for GWT 1.5 milestone 2 before he releases the code. Check out the rest of his blog post where he discusses in more detail about what he’s done.

No Comments Stumble it!

Comments »

No comments yet.