Kenga bindable buttons.
To install kenga-model-buttons
package to your project, type the following command:
npm install kenga-model-buttons --save
To use data binding of these widgets, you can write something like this const mb = new ModelCheckBox('Select an option'); mb.data = ordersData; mb.field = 'currentItem.active';
.
There are ModelCheckBox
, ModelToggleButton
and ModelRadioButton
widgets.