Sha256: 58bed4cfd35531f4fbd6de5c1a36c4a102e402d4c8a1fe1b7d96b11c2cb58be0
Contents?: true
Size: 502 Bytes
Versions: 18
Compression:
Stored size: 502 Bytes
Contents
import {hookupComponents} from './base-component'; import {VBaseToggle} from './base-toggle'; import {MDCCheckbox} from '@material/checkbox'; export function initCheckboxes(e) { console.debug('\tCheckboxes'); hookupComponents(e, '.v-checkbox', VCheckbox, MDCCheckbox); } export class VCheckbox extends VBaseToggle { constructor(element, mdcComponent) { super(element, mdcComponent); this.mdcComponent.indeterminate = (this.input.dataset.indeterminate === 'true'); } }
Version data entries
18 entries across 18 versions & 2 rubygems