Skip to content

[menu-bar] Add _tagNamePrefix to allow customizing button / submenu tag name #9810

@web-padawan

Description

@web-padawan

Motivation

Vaadin Copilot uses vaadin-menu-bar internally for the activation button. For V25, we should update it to use a custom menu-bar e.g. copilot-menu-bar instead, and do not use LumoInjectionMixin there.

Proposed solution

Add _tagNamePrefix to allow customizing tag names for the menu-bar submenu and button:

this._subMenuController = new SlotController(this, 'submenu', 'vaadin-menu-bar-submenu', {

this._overflowController = new SlotController(this, 'overflow', 'vaadin-menu-bar-button', {

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions