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
doc_EmberJs
2016-11-30 16:54:02
Comments
Leave a Comment

Please login to continue.