Skip to content

Commit 25f179e

Browse files
committed
Version 1.0.2
1 parent 453620e commit 25f179e

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

build/jquery.checkboxes.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "checkboxes.js",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"homepage": "https://github.com/rmariuzzo/checkboxes.js",
55
"keywords": "checkbox checkboxes",
66
"license": "MIT",

test/test.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<script src="../src/jquery.checkboxes.js"></script>
88
</head>
99
<body>
10-
<div data-toggle="checkboxes"
10+
<div id="checkboxes"
11+
data-toggle="checkboxes"
1112
data-max="3"
1213
data-range="true">
1314
<input type="checkbox" id="1">
@@ -19,7 +20,7 @@
1920
<input type="checkbox" id="3">
2021
<label for="3">Row #3</label>
2122
<br>
22-
<input type="checkbox" id="4">
23+
<input type="checkbox" id="4" disabled="disabled">
2324
<label for="4">Row #4</label>
2425
<br>
2526
<input type="checkbox" id="5">
@@ -40,5 +41,11 @@
4041
<input type="checkbox" id="10">
4142
<label for="10">Row #10</label>
4243
</div>
44+
<a href="#checkboxes"
45+
data-toggle="checkboxes"
46+
data-action="check">Check all</a>
47+
<a href="#checkboxes"
48+
data-toggle="checkboxes"
49+
data-action="uncheck">Uncheck all</a>
4350
</body>
4451
</html>

0 commit comments

Comments
 (0)