createAttributeLabelWidget

Type: Function

How to get createAttributeLabelWidget?

JavaScript

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

Deprecated!

Use the createLabelQueryWidget

This widget is deprecated, use the createLabelQueryWidget.

This widget is used to display the value of an attribute. The defaultLabel option should be set to provide a default value when the attribute can not be found.

Optionally, you can provide a prefix and suffix.

Arguments

  1. attributeName

    (Required)

    Type: String

    The name of the attribute to display the value of.

  2. options

    (Optional)

    Type: Object

    Properties

Returns

Type: Widget