compute

  • function
can.Map.prototype.compute  

Make a can.compute from an observable property.

map.compute(attrName)

Parameters

  1. attrName {String}

    the property to bind to

Returns

{can.compute(getterSetter, context)}

a can.compute bound to attrName

compute is a convenience method for making computes from properties of Observes. More information about computes can be found under can.compute.