ContextualOperationMenuItemWithDrop

Type: Object

Defines a menu item that when hovered, shows a drop with menu items specified by the given contents.

The contents property can contain a list of 3 different types (of objects).

executes the specified operation.

top and a border below.

  • This object, which creates a menu item that when hovered, will show a FDS~Drop with

menu items / groups / other sub menu items as specified.

The hideIn property describes in which views the operation is not applicable. This is optional and defaults to hiding nowhere. Possible values are 'context-menu', 'element-menu', 'breadcrumbs-menu' and 'structure-view'.

  • context-menu: The right click mouse menu, opens when the user right clicks on an element with

contextual operations.

The element-menu is also by default on the table cell, but will only show up when there are contextual operations for the element-menu available on the cell element.

  • breadcrumbs-menu: When the cursor is placed in an element with contextual operations,

then you will find this element in the breadcrumbs together with breadcrumbs menu.

  • structure-view: You can find this menu in the outline sidebar for elements that are

configured as configureAsStructureViewItem.

Properties

The items in the drop shown when hovering over this menu item.

hideIn

Type: Array<String>

Where the operations should be hidden from view in a certain context; Possible values are 'context-menu', 'element-menu', 'breadcrumbs-menu' or 'structure-view'.

subMenuIcon

Type: String

Use an icon in this component. This should be one of the Font Awesome icons. Do not include the fa- prefix, just use the icon names as-is from the documentation.

subMenuLabel

Type: String

The label of the sub menu item.