Type: Function

How to get createLabelQueryWidget?


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

This widget is used to display the result of the given XPathQuery. The given XPathQuery will be evaluated to a string with the source node bound to its context.

Use the inline option to select whether this widget will be used in an inline widget area.

Optionally, you can provide a prefixQuery and a suffixQuery. When set, these queries will be evaluated to strings with the source node bound to their context.


  1. labelQuery


    The XPathQuery to evaluate. This should evaluate to a string value.

  2. options


    Type: Object



Type: Widget