W3cubDocs

/Ember.js

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

Defined in packages/ember-views/lib/system/utils.js:80

Parameters:

view Ember.View

getRootViews (owner) private

Defined in packages/ember-views/lib/system/utils.js:25

Parameters:

owner Object

getViewBoundingClientRect (view) private

Defined in packages/ember-views/lib/system/utils.js:157

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

Defined in packages/ember-views/lib/system/utils.js:117

Parameters:

view Ember.View

getViewClientRects (view) private

Defined in packages/ember-views/lib/system/utils.js:141

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

Defined in packages/ember-views/lib/system/utils.js:61

Parameters:

view Ember.View

getViewId (view) private

Defined in packages/ember-views/lib/system/utils.js:46

Parameters:

view Ember.View

getViewRange (view) private

Defined in packages/ember-views/lib/system/utils.js:126

Parameters:

view Ember.View

matches (el, selector) private

Defined in packages/ember-views/lib/system/utils.js:173

Determines if the element matches the specified selector.

Parameters:

el DOMElement
selector String

trigger (name) private

Inherited from Ember.Evented but overwritten in packages/ember-views/lib/views/core_view.js:62

Override the default event firing from Ember.Evented to also call methods with the given name.

Parameters:

name String

parentViewEmber.Viewprivate

Defined in packages/ember-views/lib/views/core_view.js:44

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.
http://emberjs.com/api/classes/Ember.CoreView.html