createLabelWidget

Type: Function

How to get createLabelWidget?

JavaScript

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

This widget is used to display a given label in a widget area.

Optionally, you can use the variation option set to sentence to get non-capitalized text.

Arguments

  1. label

    (Required)

    Type: String

    The label to be displayed.

  2. options

    (Required)

    Type: Object

    Properties

Returns

Type: Widget