FxDocumentContextualOperationsWidget

How to get FxDocumentContextualOperationsWidget

import FxDocumentContextualOperationsWidget from 'fontoxml-fx/src/FxDocumentContextualOperationsWidget.jsx'

Type: Component

A contextual operations widget, showing all available contextual operations in a menu which can be opened by clicking the widget.

Read more in the "Configure a (custom) sheet frame header" how to guide.

Props

# Name Type Description
1. contextNodeId String

The id of the node for which contextual operations are rendered as menu items.

2. hierarchyNodeId String

The hierarchy id of the node for which contextual operations are rendered as menu items.

3. [includeMenuGroupHeading] Boolean

Whether or not to render the markup label of the given context node as a menu group heading. Defaults to false.


  Default value
false
Was this page helpful?