Skip to content

Commit 625f7e5

Browse files
committed
maint(pat-checklist): Document the available options.
1 parent 015976e commit 625f7e5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/pat/checklist/documentation.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ disabled. And if no checkboxes are checked the deselect-all button will
5353
be disabled.
5454

5555

56-
### JavaScript API
56+
### Option reference
5757

58-
The JavaScript API is entirely optional since Patterns already
59-
automatically enables the switching behaviour for all elements with a
60-
`data-pat-checklist` attribute.
58+
| Property | Type | Default Value | Description |
59+
| ----------- | ------- | ---------------- | -------------------------------------------- |
60+
| `select` | String | `.select-all` | CSS selector for the "Select All" button. |
61+
| `deselect` | String | `.deselect-all` | CSS selector for the "Deselect All" button. |
62+
| `toggle` | String | `.toggle-all` | CSS selector for the "Toggle" button. |

0 commit comments

Comments
 (0)