Monday, December 31, 2012

gwtsizzle - CSS selectors for GWT dom

I needed a lightweight solution for CSS selectors in so I made a GWT port of the JavaScript library


Since it has a very simple JavaScript API it only took me 1 hour to author this project. It is much more lighter than using gquery (about 19kb). Any feedback is most appreciated.

Usage example:

// ala JavaScript
JsArray<Element> result = Sizzle.sizzleArray("div p");
for (int i = 0; i < result.length(); i++)

// ala Java
for (Element e : Sizzle.sizzleCol("div p"))

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment