Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.48 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.48 KB

GWT Material JQuery

Build Status Join us

JQuery interface maintained by GWT Material Design.

Documentation

Documentation on the JQuery can be found here: https://api.jquery.com/

Maven

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>

Usage

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.