configureStructureViewItemProperties

Type: Function

How to get configureStructureViewItemProperties?

JavaScript

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

Configure properties for elements in the structure view.

This can be used alongside configureAsStructureViewItem much like configureProperties can be used alongside the CVK families.

In addition to overriding specific properties from the base configuration, this function may also be used to configure properties for the source nodes in the documents hierarchy. Such properties may be used when the target of the corresponding hierarchy node is not available. Only the titleQuery (shared with the CVK) and the icon can currently be configured this way.

Except for the use case above, make sure that all structure view items configured using this function also have a matching configureAsStructureViewItem configuration.

Arguments

  1. sxModule

    (Required)

    Type: SxModule

  2. selector

    (Required)

    Type: XPathTest

  3. options

    (Required)

    Type: Object

    Properties