configure As Group
Type: Function
How to get configureAsGroup?
JavaScript
import configureAsGroup from 'fontoxml-families/src/configureAsGroup.js'
This general family provides flexible grouping, for example to support presenting its children more compactly, without whitespace between them.
Groups are not visible by default. Displaying its children next to each other, without whitelines between them, indicates the group. Use expression: 'compact' to accomplish this.
Groups can be split by pressing Enter.
Lists are a common use case for groups.
The following visualization options are visualized by the group family:
-
expression, this can be set to 'compact'
-
clickOperation
The following widget areas are available:
-
blockHeaderLeft
-
blockHeaderRight
-
blockBefore
-
blockAfter
-
blockFooter
-
blockOutsideBefore
-
blockOutsideAfter
This family has a number of additional options which affect how it behaves:
-
isIgnoredForNavigation
-
isRemovableIfEmpty
-
defaultTextContainer
Arguments
sx
Module (Required)
Type: SxModule
selector
(Required)
Type: XPathTest
markup
Label (Required)
Type: String
options
(Required)
Type: CvkOptions