create Related Nodes Widget
Type: Function
How to get createRelatedNodesWidget?
JavaScript
import createRelatedNodesWidget from 'fontoxml-families/src/createRelatedNodesWidget.js'
Deprecated!
Use the createRelatedNodesQueryWidget.
This widget is deprecated, use the createRelatedNodesQueryWidget.
This widget is used to display a number of related nodes in a widget. The selector is used to accumulate all matching outermost descendants.
Warning:
The passed query may only use the attribute and parent axis of the node. Using other axes may cause the widget to not be updated.
Use the createRelatedNodesQueryWidget instead, this widget does not have these behaviourable quirks.
Arguments
selector
(Required)
Type: XPathQuery
An XPathQuery.
options
(Optional)
Type: Object
Properties
Returns
Type: Widget