Uses of Class
com.vaadin.flow.component.menubar.testbench.MenuBarItemElement
-
Uses of MenuBarItemElement in com.vaadin.flow.component.menubar.testbench
Methods in com.vaadin.flow.component.menubar.testbench that return types with arguments of type MenuBarItemElementModifier and TypeMethodDescriptionMenuBarSubMenuElement.getMenuItem(String text) Get the first menu item matching the text.MenuBarSubMenuElement.getMenuItems()Get the items of this submenu.MenuBarButtonElement.getSubMenuItems()Deprecated, for removal: This API element is subject to removal in a future version.MenuBarElement.getSubMenuItems()Deprecated, for removal: This API element is subject to removal in a future version.useMenuBarButtonElement.openSubMenu()to open a submenu and then useMenuBarSubMenuElement.getMenuItems()to retrieve the items.MenuBarElement.getSubMenuItems(com.vaadin.testbench.TestBenchElement subMenu) Deprecated, for removal: This API element is subject to removal in a future version.useMenuBarButtonElement.openSubMenu()oropenSubMenu()to open a submenu and then useMenuBarSubMenuElement.getMenuItems()to retrieve the items.MenuBarItemElement.getSubMenuItems()Deprecated, for removal: This API element is subject to removal in a future version.useopenSubMenu()orgetSubMenu()retrieve the submenu for this item, and then useMenuBarSubMenuElement.getMenuItems()to retrieve the items.
MenuBarButtonElement.openSubMenu()orMenuBarButtonElement.getSubMenu()retrieve the submenu for this button, and then useMenuBarSubMenuElement.getMenuItems()to retrieve the items.