Skip to content

Commit

Permalink
remove Vaadin 25 from JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen committed Jan 17, 2025
1 parent 1610766 commit 6bc5144
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/button/src/vaadin-button.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ declare class Button extends ButtonMixin(ElementMixin(ThemableMixin(ControllerMi
*
* To improve accessibility, disabled buttons can be made focusable
* so that screen readers can reach and properly announce them to
* users. This behavior can be enabled with the feature flag:
* users. Other interactions such as clicks remain disabled. This
* behavior is currently experimental and can be enabled with the
* feature flag:
*
* ```
* // Enable before any button is attached to the DOM.
* // Set before any button is attached to the DOM.
* window.Vaadin.featureFlags.focusableDisabledComponents = true
* ```
*
* In Vaadin 25, disabled buttons will be focusable by default.
*/
disabled: boolean;
}
Expand Down
8 changes: 4 additions & 4 deletions packages/button/src/vaadin-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ class Button extends ButtonMixin(ElementMixin(ThemableMixin(ControllerMixin(Poly
*
* To improve accessibility, disabled buttons can be made focusable
* so that screen readers can reach and properly announce them to
* users. This behavior can be enabled with the feature flag:
* users. Other interactions such as clicks remain disabled. This
* behavior is currently experimental and can be enabled with the
* feature flag:
*
* ```
* // Enable before any button is attached to the DOM.
* // Set before any button is attached to the DOM.
* window.Vaadin.featureFlags.focusableDisabledComponents = true
* ```
*
* In Vaadin 25, disabled buttons will be focusable by default.
*/
disabled: {
type: Boolean,
Expand Down

0 comments on commit 6bc5144

Please sign in to comment.