Skip to content

Commit

Permalink
docs: add readonly to the list of state attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Apr 10, 2024
1 parent f1cad65 commit d394916
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/checkbox-group/src/vaadin-checkbox-group.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export interface CheckboxGroupEventMap extends HTMLElementEventMap, CheckboxGrou
* Attribute | Description | Part name
* --------------------|-------------------------------------------|------------
* `disabled` | Set when the element is disabled | :host
* `readonly` | Set when the element is readonly | :host
* `invalid` | Set when the element is invalid | :host
* `focused` | Set when the element is focused | :host
* `has-label` | Set when the element has a label | :host
Expand Down
1 change: 1 addition & 0 deletions packages/checkbox-group/src/vaadin-checkbox-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ registerStyles('vaadin-checkbox-group', checkboxGroupStyles, { moduleId: 'vaadin
* Attribute | Description | Part name
* --------------------|-------------------------------------------|------------
* `disabled` | Set when the element is disabled | :host
* `readonly` | Set when the element is readonly | :host
* `invalid` | Set when the element is invalid | :host
* `focused` | Set when the element is focused | :host
* `has-label` | Set when the element has a label | :host
Expand Down
1 change: 1 addition & 0 deletions packages/checkbox/src/vaadin-checkbox.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export interface CheckboxEventMap extends HTMLElementEventMap, CheckboxCustomEve
* `active` | Set when the checkbox is activated with mouse, touch or the keyboard.
* `checked` | Set when the checkbox is checked.
* `disabled` | Set when the checkbox is disabled.
* `readonly` | Set when the checkbox is readonly.
* `focus-ring` | Set when the checkbox is focused using the keyboard.
* `focused` | Set when the checkbox is focused.
* `indeterminate` | Set when the checkbox is in the indeterminate state.
Expand Down
1 change: 1 addition & 0 deletions packages/checkbox/src/vaadin-checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ registerStyles('vaadin-checkbox', checkboxStyles, { moduleId: 'vaadin-checkbox-s
* `active` | Set when the checkbox is activated with mouse, touch or the keyboard.
* `checked` | Set when the checkbox is checked.
* `disabled` | Set when the checkbox is disabled.
* `readonly` | Set when the checkbox is readonly.
* `focus-ring` | Set when the checkbox is focused using the keyboard.
* `focused` | Set when the checkbox is focused.
* `indeterminate` | Set when the checkbox is in the indeterminate state.
Expand Down

0 comments on commit d394916

Please sign in to comment.