Class Ember.Checkbox

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

See Handlebars.helpers.input for usage details.

Direct manipulation of checked

The checked attribute of an Ember.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. See Ember.View's layout section for more information.

Show:

Module: ember

Called when the element of the view has been inserted into the DOM or after the view was re-rendered. Override this function to do any set up that requires an element in the document body.

Module: ember

Called when the parentView property has changed.

Module: ember

Called when the view is about to rerender, but before anything has been torn down. This is a good opportunity to tear down any manual observers you have installed based on the DOM state

Module: ember

Called when the element of the view is going to be destroyed. Override this function to do any teardown that requires an element, like removing event listeners.

Module: ember

Called when a view is going to insert an element into the DOM.