Skip to content

Commit

Permalink
docs(event): add events to jsdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 committed May 1, 2024
1 parent c10742b commit 344be6a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions demo/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ The auro-checkbox-group element is a wrapper for auro-checkbox element.

## Events

| Event | Type |
|---------|--------------------|
| [input](#input) | `CustomEvent<any>` |
| Event | Type | Description |
|-----------------------------|--------------------|--------------------------------------------------|
| `auroFormElement-validated` | | Notifies that the `validity` and `errorMessage` values have changed. |
| [input](#input) | `CustomEvent<any>` | |

## Slots

Expand Down
7 changes: 4 additions & 3 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ The auro-checkbox-group element is a wrapper for auro-checkbox element.

## Events

| Event | Type |
|---------|--------------------|
| `input` | `CustomEvent<any>` |
| Event | Type | Description |
|-----------------------------|--------------------|--------------------------------------------------|
| `auroFormElement-validated` | | Notifies that the `validity` and `errorMessage` values have changed. |
| `input` | `CustomEvent<any>` | |

## Slots

Expand Down
1 change: 1 addition & 0 deletions src/auro-checkbox-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import styleCss from "./auro-checkbox-group-css.js";
* @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
* @slot {HTMLSlotElement} optionalLabel - Allows for the optional label to be overridden.
* @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
*/

export class AuroCheckboxGroup extends LitElement {
Expand Down

0 comments on commit 344be6a

Please sign in to comment.