Skip to content

JQuery interface maintained by GWT Material Design, based off the gwt-jquery library

Notifications You must be signed in to change notification settings

GwtMaterialDesign/gwt-material-jquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.