JQuery interface maintained by GWT Material Design.
Documentation on the JQuery can be found here: https://api.jquery.com/
Current Version 2.8.3
<dependency>
<groupId>com.github.gwtmaterialdesign</groupId>
<artifactId>gwt-material-jquery</artifactId>
<version>2.8.3</version>
</dependency>
Snapshot Version 2.8.0
<dependency>
<groupId>com.github.gwtmaterialdesign</groupId>
<artifactId>gwt-material-jquery</artifactId>
<version>2.8.0-SNAPSHOT</version>
</dependency>
Ensure you have JQuery loaded before this library is inherited.
This is handled by GMD if you yare using GwtMaterialWithJQuery
GMD module.
<inherits name="gwt.material.design.jquery.JQuery" />
import static gwt.material.design.jquery.client.api.JQuery.$;
public class MyEntryPoint implements EntryPoint {
@Override
public void onModuleLoad() {
$(".myclass").css("display", "block");
}
}
See JQueryElement for more details on the API interface.