Class Checkbox

public
Extends: Component
Defined in: packages/ember-glimmer/lib/components/checkbox.ts:9
Module: @ember/component
import Checkbox from '@ember/component/checkbox';

The internal class used to create text inputs when the {{input}} helper is used with type of checkbox.

See Ember.Templates.helpers.input for usage details.

Direct manipulation of checked

The checked attribute of an Checkbox object should always be set through the Ember object or by interacting with its rendered element representation via the mouse, keyboard, or touch. Updating the value of the checkbox via jQuery will result in the checked value of the object and its element losing synchronization.

Layout and LayoutName properties

Because HTML input elements are self closing layout and layoutName properties will not be applied.

Methods

Properties

Events

© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/2.18/classes/Checkbox