FxDocumentContextualOperationsWidget

Type: React component

How to get FxDocumentContextualOperationsWidget?

JavaScript

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

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

  1. contextNodeId

    (Required)

    Type: String

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

  2. hierarchyNodeId

    (Required)

    Type: String

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

  3. includeMenuGroupHeading

    (Optional)

    Type: Boolean

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

    Default value