createCheckboxWidget

Type: Function

How to get createCheckboxWidget?

JavaScript

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

This widget is used to display a checkbox. 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