GWT jQuery = GQuery

April 3rd, 2008 - Written by Chris Fong 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 http://code.google.com/p/gwtquery, 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 Subscribe to this feed Stumble it!

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.