drupal/core/themes/olivero/js/checkbox.js

16 lines
328 B
JavaScript
Raw Normal View History

/**
* @file
* Customization of checkbox.
*/
((Drupal) => {
/**
* Constructs a checkbox input element.
*
* @return {string}
* A string representing a DOM fragment.
*/
Drupal.theme.checkbox = () =>
'<input type="checkbox" class="form-checkbox form-boolean form-boolean--type-checkbox"/>';
})(Drupal);