DS.Model.eachRelatedType()

eachRelatedType (callback, binding) static

Defined in addon/-private/system/relationships/ext.js:559

Given a callback, iterates over each of the types related to a model, invoking the callback with the related type's class. Each type will be returned just once, regardless of how many different relationships it has with a model.

Parameters:

callback Function
the callback to invoke
binding Any
the value to which the callback's `this` should be bound
doc_EmberJs
2016-11-30 16:50:16
Comments
Leave a Comment

Please login to continue.