Skip to content

Commit

Permalink
docs(radio): document events on radio
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 568945525
Elliott Marquez authored and copybara-github committed Sep 27, 2023

Verified

This commit was signed with the committer’s verified signature.
tombruijn Tom de Bruijn
1 parent 8ec0813 commit 57f7ff5
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/components/list.md
Original file line number Diff line number Diff line change
@@ -377,6 +377,7 @@ Token | Default value

## API


### MdList <code>&lt;md-list&gt;</code>

#### Properties
11 changes: 11 additions & 0 deletions docs/components/radio.md
Original file line number Diff line number Diff line change
@@ -228,4 +228,15 @@ Property | Attribute | Type | Default | Description

<!-- mdformat on(autogenerated might break rendering in catalog) -->

#### Events

<!-- mdformat off(autogenerated might break rendering in catalog) -->

Event | Description
--- | ---
`input` | Dispatched when the value changes from user interaction.
`change` | Dispatched when the value changes from user interaction.

<!-- mdformat on(autogenerated might break rendering in catalog) -->

<!-- auto-generated API docs end -->
5 changes: 5 additions & 0 deletions radio/internal/radio.ts
Original file line number Diff line number Diff line change
@@ -21,6 +21,11 @@ let maskId = 0;

/**
* A radio component.
*
* @fires input Dispatched when the value changes from user interaction.
* --bubbles
* @fires change Dispatched when the value changes from user interaction.
* --bubbles --composed
*/
export class Radio extends LitElement {
static {

0 comments on commit 57f7ff5

Please sign in to comment.