create Checkbox Widget
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
checked
(Required)
Type: Boolean
true
if it should be checked initially,false
otherwise.options
(Required)
Type: Object
Options passed to createIconWidget.
Returns
Type: Widget