DefineMap.prototype
A can-define/map/map constructor to add stream methods to.
new DefineMap({props})
Creates a DefineMap constructor
import DefineMap from 'can-define/map/map';
var Person = DefineMap.extend({
first: 'string',
last: 'string',
fullName: {
get() {
return this.first + " " + this.last;
}
}
});
Use
See: can-define/map/map and extend