configure As Line
Type: Function
How to get configureAsLine?
JavaScript
import configureAsLine from 'fontoxml-families/src/configureAsLine.js'
Lines transition from vertical groups to inlines and contain inlines.
Lines are recognizable by their textual content and most of the time being less than a line length long. Optionally, the text can be formatted using a number of visualization options.
Like block, with the exception of Shift+Enter being used to split lines. Pressing Enter will split the parent group.
Lines are meant for use in contexts that are not multi-line by default, but can be used as such in special cases by pressing Shift+Enter for a line break. Use this family for inline objects which can contain other elements which should be rendered.
The following visualization options are visualized by this family:
-
baseline
-
case
-
endDelimiter
-
fontStack
-
isMonospaced
-
lineThroughStyle
-
overlineStyle
-
slant
-
startDelimiter
-
textAlign
-
underlineStyle
-
weight
The following widget areas are available:
-
blockHeaderLeft
-
blockHeaderRight
-
blockBefore
-
blockAfter
-
blockFooter
-
blockOutsideBefore
-
blockOutsideAfter
Arguments
sx
Module (Required)
Type: SxModule
selector
(Required)
Type: XPathTest
markup
Label (Required)
Type: String
options
(Required)
Type: CvkOptions