furo-ui5-context-menu-display

furo-ui5-context-menu-display #

@furo/ui5 v1.18.0
import '@furo/ui5/src/furo-ui5-context-menu-display.js';
exports FuroUi5ContextMenuDisplay js
exports <furo-ui5-context-menu-display> custom-element-definition
superclass LitElement
mixes FBP

Summary: context menu

Description #

The furo-ui5-context-menu-display is the display element for furo-ui5-context-menu and submenus. Place this component as high as needed in your dom.

You should not interact with this component directly. Use furo-ui5-context-menu to show a context menu.

There is nothing more to do. The menu creates a transparent “backdrop” with absolute positions 0 0 0 0

1
 <furo-ui5-context-menu-display></furo-ui5-context-menu-display>

Attributes and Properties #

borderDistance #

default: 48

Distance for the sub menus in pixel. This value is used to calculate if the menu or sub menu should apear on the left or on the right.

Methods #

hideMenu #

hideMenu() ⟹ void

*fn-hide-menu

Hides the menu witout selecting anything.

If you click somewhere on the background, the menu will also disappear.