jquery-tristate

A WebJar for the jQuery Tristate component

View the Project on GitHub dheid/jquery-tristate

jQuery Tristate WebJar (jquery-tristate)

jQuery Tristate by Martijn van der Lee adds a tristate (indeterminate) checkbox with pseudo selectors and optional value modification and .val() overwrite to jQuery. It is licensed with the MIT License. This WebJar includes the corresponding JavaScript file.

jQuery is provided the OpenJS Foundation under the MIT License.

WebJars are usually built using a plain Maven POM. This WebJar uses the Wagon Maven Plugin to download the jQuery Tristate file from jsDelivr and puts it into the Java archive.

Usage

Just include this WebJar into your project. For Maven, you can use the following snippet:

<dependency>
    <groupId>org.webjars</groupId>
    <artifactId>jquery-tristate</artifactId>
    <version>1.2.1</version>
</dependency>

And here is a Gradle snippet for you:

implementation 'org.webjars:jquery-tristate:1.2.1'

Building

Just call

mvn clean install

and the Jar is built. You can check the output in the target folder. Please make sure that all required files are included and have proper content.

Contributing

I highly welcome your updates and improvements. Please open a pull request if you want to contribute to the jQuery Tristate WebJar. Thanks in advance!