Sha256: 8d37cc5e38af5a4f7ff771d594146920ecb0ce00b565d29fbf7038c221c5a2e8
Contents?: true
Size: 450 Bytes
Versions: 14
Compression:
Stored size: 450 Bytes
Contents
import {MDCCheckbox} from '@material/checkbox'; export function initCheckboxes() { console.log('\tCheckboxes'); var components = document.querySelectorAll('.mdc-checkbox'); if (components) { for (var i = 0; i < components.length; i++) { var component = components[i]; if (!component.mdcComponent) { component.mdcComponent = MDCCheckbox.attachTo(component); } } } }
Version data entries
14 entries across 14 versions & 1 rubygems