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
The parent's DOM element

Returns:

DOMElement
The discovered element
doc_EmberJs
2016-11-30 16:54:02
Comments
Leave a Comment

Please login to continue.