ViewTargetActionSupport#elementId

elementIdStringpublic Defined in packages/ember-views/lib/mixins/view_support.js:250 The HTML id of the view's element in the DOM. You can provide this value yourself but it must be unique (just as in HTML): {{my-component elementId="a-really-cool-id"}} If not manually set a default value will be provided by the framework. Once rendered an element's elementId is considered immutable and you should never change it. If you need to compute a dynamic value for the elementId, you should do th

ViewTargetActionSupport#element

elementDOMElementpublic Defined in packages/ember-views/lib/mixins/view_support.js:87 Returns the current DOM element for the view.

ViewTargetActionSupport#didInsertElement event

didInsertElementpublic Defined in packages/ember-views/lib/mixins/view_support.js:305 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. When a view has children, didInsertElement will be called on the child view(s) first, bubbling upwards through the hierarchy.

ViewTargetActionSupport#destroy()

destroyprivate Defined in packages/ember-views/lib/mixins/view_support.js:328 You must call destroy on a view to destroy the view (and all of its child views). This will remove the view from any parent node, then make sure that the DOM element managed by the view can be released by the memory manager.

ViewTargetActionSupport#appendTo()

appendTo (A) Ember.Viewprivate Defined in packages/ember-views/lib/mixins/view_support.js:114 Appends the view's element to the specified parent element. Note that this method just schedules the view to be appended; the DOM element will not be appended to the given element until all bindings have finished synchronizing. This is not typically a function that you will need to call directly when building your application. If you do need to use appendTo, be sure that the target element you are

ViewTargetActionSupport#append()

appendEmber.Viewprivate Defined in packages/ember-views/lib/mixins/view_support.js:229 Appends the view's element to the document body. If the view does not have an HTML representation yet the element will be generated automatically. If your application uses the rootElement property, you must append the view within that element. Rendering views outside of the rootElement is not supported. Note that this method just schedules the view to be appended; the DOM element will not be appended to t

ViewTargetActionSupport#actionContext

actionContextprivate Defined in packages/ember-views/lib/mixins/view_target_action_support.js:53

ViewTargetActionSupport#$()

$ (selector) JQuerypublic Defined in packages/ember-views/lib/mixins/view_support.js:96 Returns a jQuery object for this view's element. If you pass in a selector string, this method will return a jQuery object, using the current element as its buffer. For example, calling view.$('li') will return a jQuery object containing all of the li elements inside the DOM element of this view. Parameters: selector [String] a jQuery-compatible selector string Returns: JQuery the jQuery objec

ViewTargetActionSupport

Ember.ViewTargetActionSupport Class PRIVATE Extends: Ember.TargetActionSupport Defined in: packages/ember-views/lib/mixins/view_target_action_support.js:5 Module: ember Ember.ViewTargetActionSupport is a mixin that can be included in a view class to add a triggerAction method with semantics similar to the Handlebars {{action}} helper. It provides intelligent defaults for the action's target: the view's controller; and the context that is sent with the action: the view's context. Note: In n

View

Ember.View Class DEPRECATED PUBLIC Extends: Ember.CoreView Uses: Ember.ViewSupport Uses: Ember.ViewChildViewsSupport Uses: Ember.ClassNamesSupport Uses: Ember.AttributeBindingsSupport Uses: Ember.InstrumentationSupport Uses: Ember.VisibilitySupport Uses: Ember.AriaRoleSupport Defined in: packages/ember-views/lib/views/view.js:17 Module: ember-views Ember.View is the class in Ember responsible for encapsulating templates of HTML content, combining templates with data to render as sections o