Class Checkbox
public
Extends:
Component
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
- $
- addObserver
- cacheFor
- change
- decrementProperty
- destroy
- didInsertElement
- didReceiveAttrs
- didRender
- didUpdate
- didUpdateAttrs
- get
- getProperties
- has
- incrementProperty
- init
- notifyPropertyChange
- off
- on
- one
- readDOMAttr
- removeObserver
- rerender
- send
- set
- setProperties
- toString
- toggleProperty
- trigger
- willDestroy
- willRender
- willUpdate
Properties
- actions
- ariaRole
- attributeBindings
- classNameBindings
- classNames
- concatenatedProperties
- disabled
- element
- elementId
- isDestroyed
- isDestroying
- layout
- mergedProperties
- positionalParams
- tagName