list
is the viewModel's list property
requestAnimationFrame
const Players = Map.extend({
define: {
header: {
Type: Object
},
plrs: {
Type: Object
}
}
});
connect([
require('can-connect/data/url/url'),
require('can-connect/constructor/constructor'),
require('can-connect/can/map/map')
], {
Map: Players,
url: '/players'
});
fixture("GET /players", config.playersUrl);
export default Players;
it looks like when a function is called from a binding like
<button type="button" ($click)="clickHandler()">Click Me</button>
it doesn't differentiate a Helper expression type (from can-stache/src/expression) from a Call expression type and tries to call a function which exists on the Helper, but not the Call
this.viewmodel.myProp = ‘some value’
isn’t working