CoreView
Ember.CoreView Class
DEPRECATED
PRIVATE
Extends: Ember.Object
Uses: Ember.Evented
Uses: Ember.ActionHandler
Defined in: packages/ember-views/lib/views/core_view.js:11
Module: ember
Ember.CoreView
is an abstract class that exists to give view-like behavior to both Ember's main view class Ember.Component
and other classes that don't need the full functionality of Ember.Component
.
Unless you have specific needs for CoreView
, you will use Ember.Component
in your applications.
getChildViews (view) private
Parameters:
-
view
Ember-View
getRootViews (owner) private
Parameters:
-
owner
Object
getViewBoundingClientRect (view) private
getViewBoundingClientRect
provides information about the position of the bounding border box edges of a view relative to the viewport.
It is only intended to be used by development tools like the Ember Inpsector and may not work on older browsers.
Parameters:
-
view
Ember-View
getViewBounds (view) private
Parameters:
-
view
Ember-View
getViewClientRects (view) private
getViewClientRects
provides information about the position of the border box edges of a view relative to the viewport.
It is only intended to be used by development tools like the Ember Inspector and may not work on older browsers.
Parameters:
-
view
Ember-View
getViewElement (view) private
Parameters:
-
view
Ember-View
getViewId (view) private
Parameters:
-
view
Ember-View
getViewRange (view) private
Parameters:
-
view
Ember-View
matches (el, selector) private
Determines if the element matches the specified selector.
Parameters:
-
el
DOMElement
-
selector
String
trigger (name) private
Override the default event firing from Ember.Evented
to also call methods with the given name.
Parameters:
-
name
String
parentViewEmber-View
private
If the view is currently inserted into the DOM of a parent view, this property will point to the parent of the view.
Default: null
© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://emberjs.com/api/classes/Ember.CoreView.html