Ember.computed.sum()

sum (dependentKey) Ember.ComputedPropertypublic

Defined in packages/ember-runtime/lib/computed/reduce_computed_macros.js:63
Available since 1.4.0

A computed property that returns the sum of the values in the dependent array.

Parameters:

dependentKey String

Returns:

Ember.ComputedProperty
computes the sum of all values in the dependentKey's array
doc_EmberJs
2016-11-30 16:51:20
Comments
Leave a Comment

Please login to continue.