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
- decrementProperty
- destroy
- didReceiveAttrs
- didRender
- didUpdate
- didUpdateAttrs
- get
- getProperties
- getWithDefault
- has
- incrementProperty
- init
- notifyPropertyChange
- off
- on
- one
- readDOMAttr
- removeObserver
- rerender
- send
- sendAction
- set
- setProperties
- toString
- toggleProperty
- trigger
- willDestroy
- willRender
- willUpdate
Properties
- actions
- ariaRole
- attributeBindings
- classNameBindings
- classNames
- concatenatedProperties
- element
- elementId
- isDestroyed
- isDestroying
- isVisible
- layout
- mergedProperties
- positionalParams
- tagName