configureAsInclusion

How to get configureAsInclusion

import configureAsInclusion from 'fontoxml-families/src/configureAsInclusion.js'

Type: Function

Configure nodes to include external content via a reference to another node. A single call to this function configures both block and inline visualization of the referencing node. The target node determines the visualization based on where it originally came from.

The included content is not editable and selections can not be made.

As the included content can not be edited we define no keyboard flow inside them.

The family can contain the normal widget areas for the block variant:

  • blockHeaderLeft

  • blockHeaderRight

  • blockBefore

  • blockAfter

  • blockFooter

  • blockOutsideBefore

  • blockOutsideAfter

and for the inline variant:

  • inlineBefore

  • inlineAfter

If you want to contain these widgets in a frame, try using configureAsInclusionInFrame instead.

A clickOperation may be used to execute something on click.

Arguments

# Name Type Description
1. sxModule SxModule
2. selector XPathTest
3. markupLabel String
4. resolveReferenceFunction resolveReferenceFunction
5. options CvkOptions
Was this page helpful?