Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { A } from '@ember/array';
import Component from '@ember/component';
import { set, get } from '@ember/object';
import { run, next, scheduleOnce } from '@ember/runloop';
import layout from '../templates/components/mdc-checkbox';
import { addClass, removeClass, MDCComponent } from '../mixins/mdc-component';
import getElementProperty from '../utils/get-element-property';
import { MDCCheckboxFoundation } from '@material/checkbox';
import SupportsBubblesFalse from '../mixins/supports-bubbles-false';
const { ANIM_END_EVENT_NAME } = MDCCheckboxFoundation.strings;
export default Component.extend(MDCComponent, SupportsBubblesFalse, {
//region Attributes
/**
* This property is considered read-only by the component, and will not be
* updated by user action. Please see `onchange` to handle user actions.
* @type {Boolean}
*/
checked: false,
/**
* This property is considered read-only by the component, and will not be
* updated by user action.
* @type {Boolean}
*/
indeterminate: false,
/**