createRadioButtonWidget

Type: Function

How to get createRadioButtonWidget?

JavaScript

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

This widget is used to display a radio button. This widget uses the createIconWidget, which means that all options present on the createIconWidget can be set for this widget.

Arguments

  1. checked

    (Required)

    Type: Boolean

    true if it should be checked initially, false otherwise.

  2. options

    (Required)

    Type: Object

    Options passed to createIconWidget.

Returns

Type: Widget