create Label Query Widget
Type: Function
How to get createLabelQueryWidget?
JavaScript
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.
Arguments
label
Query (Required)
Type: XPathQuery
The XPathQuery to evaluate. This should evaluate to a string value.
options
(Optional)
Type: Object
Properties
Returns
Type: Widget