1 #set( $symbol_pound = '#' )
2 #set( $symbol_dollar = '$' )
3 #set( $symbol_escape = '\' )
4 package ${package}.${artifactId}.client;
5 import com.google.gwt.dom.client.Element;
6 import com.google.gwt.query.client.Function;
7 import static com.google.gwt.query.client.GQuery.*;
10 import com.google.gwt.core.client.EntryPoint;
13 * Example code for a GwtQuery application
15 public class ${projectName} implements EntryPoint {
17 public void onModuleLoad() {
19 ${symbol_dollar}("div")
20 .hover(new Function() {
21 public void f(Element e) {
22 ${symbol_dollar}(e).css("color", "blue").stop(true, true).animate("fontSize: '+=10px'");
25 public void f(Element e) {
26 ${symbol_dollar}(e).css("color", "").stop(true, true).animate("fontSize: '-=10px'");