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 b92ac6f commit 699c5e5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions packages/menu-bar/src/vaadin-menu-bar-mixin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,18 @@ export declare class MenuBarMixinClass {
*
* #### Disabled items
*
* When an item is disabled, it prevents any user interaction with it,
* such as focusing, clicking, or opening a sub-menu. To improve accessibility,
* disabled root-level items (menu bar 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:
* When an item is disabled, it prevents any user interaction with it, such as
* focusing, clicking, or opening a sub-menu.
*
* To improve accessibility, disabled root-level items (menu bar buttons) can be
* made focusable so that screen readers can reach and properly announce them to
* users. Other interactions such as clicks remain disabled. This behavior is
* currently experimental and can be enabled with the feature flag:
*
* ```
* // Enable before any menu bar is attached to the DOM.
* // Set before any menu bar is attached to the DOM.
* window.Vaadin.featureFlags.focusableDisabledComponents = true
* ```
*
* In Vaadin 25, disabled menu bar buttons will be focusable by default.
*/
items: MenuBarItem[];

Expand Down
16 changes: 8 additions & 8 deletions packages/menu-bar/src/vaadin-menu-bar-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,19 @@ export const MenuBarMixin = (superClass) =>
*
* #### Disabled items
*
* When an item is disabled, it prevents any user interaction with it,
* such as focusing, clicking, or opening a sub-menu. To improve accessibility,
* disabled root-level items (menu bar 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:
* When an item is disabled, it prevents any user interaction with it, such as
* focusing, clicking, or opening a sub-menu.
*
* To improve accessibility, disabled root-level items (menu bar buttons) can be
* made focusable so that screen readers can reach and properly announce them to
* users. Other interactions such as clicks remain disabled. This behavior is
* currently experimental and can be enabled with the feature flag:
*
* ```
* // Enable before any menu bar is attached to the DOM.
* // Set before any menu bar is attached to the DOM.
* window.Vaadin.featureFlags.focusableDisabledComponents = true
* ```
*
* In Vaadin 25, disabled menu bar buttons will be focusable by default.
*
* @type {!Array<!MenuBarItem>}
*/
items: {
Expand Down

0 comments on commit 699c5e5

Please sign in to comment.