ViewTargetActionSupport#willInsertElement event

willInsertElementpublic Defined in packages/ember-views/lib/mixins/view_support.js:297 Called when a view is going to insert an element into the DOM.

ViewTargetActionSupport#rerender()

rerenderpublic Defined in packages/ember-views/lib/mixins/view_support.js:62 Renders the view again. This will work regardless of whether the view is already in the DOM or not. If the view is in the DOM, the rendering process will be deferred to give bindings a chance to synchronize. If children were added during the rendering process using appendChild, rerender will remove them, because they will be added again if needed by the next render. In general, if the display of your view changes,

ViewTargetActionSupport#replaceIn()

replaceIn (target) Ember.Viewprivate Defined in packages/ember-views/lib/mixins/view_support.js:204 Replaces the content of the specified parent element with this view's element. If the view does not have an HTML representation yet, the element will be generated automatically. 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 Parameters: target String|DOMElement|jQuery A

ViewTargetActionSupport#renderToElement()

renderToElement (tagName) HTMLBodyElementprivate Defined in packages/ember-views/lib/mixins/view_support.js:153 Creates a new DOM element, renders the view into it, then returns the element. By default, the element created and rendered into will be a BODY element, since this is the default context that views are rendered into when being inserted directly into the DOM. let element = view.renderToElement(); element.tagName; // => "BODY" You can override the kind of element rendered into a

ViewTargetActionSupport#parentViewDidChange event

parentViewDidChangeprivate Defined in packages/ember-views/lib/mixins/view_support.js:355 Called when the parentView property has changed.

ViewTargetActionSupport#init()

initprivate Defined in packages/ember-views/lib/mixins/view_support.js:388 Setup a view, but do not finish waking it up. configure childViews register the view with the global views hash, which is used for event dispatch

ViewTargetActionSupport#handleEvent()

handleEvent (eventName, evt) private Defined in packages/ember-views/lib/mixins/view_support.js:495 Handle events from Ember.EventDispatcher Parameters: eventName String evt Event

ViewTargetActionSupport#nearestOfType()

nearestOfType (klass) deprecatedprivate Defined in packages/ember-views/lib/mixins/view_support.js:21 use yield and contextual components for composition instead. Return the nearest ancestor that is an instance of the provided class or mixin. Parameters: klass Class,Mixin Subclass of Ember.View (or Ember.View itself), or an instance of Ember.Mixin. Returns: Ember.View

ViewTargetActionSupport#nearestWithProperty()

nearestWithProperty (property) deprecatedprivate Defined in packages/ember-views/lib/mixins/view_support.js:44 use yield and contextual components for composition instead. Return the nearest ancestor that has a given property. Parameters: property String A property name Returns: Ember.View

ViewTargetActionSupport#findElementInParentElement()

findElementInParentElement (parentElement) DOMElementprivate Defined in packages/ember-views/lib/mixins/view_support.js:280 Attempts to discover the element in the parent element. The default implementation looks for an element with an ID of elementId (or the view's guid if elementId is null). You can override this method to provide your own form of lookup. For example, if you want to discover your element using a CSS class name instead of an ID. Parameters: parentElement DOMElement Th