Posted by @justinbmeyer from canjs/canjs#3570
I would like to see the events object change to avoid the {} in "{data} thing" sorta stuff, especially since the element is the view model now.
Could we have something like:
events: {
connected: function(){
setInterval(() => {
this.time = new Date();
}, 1000);
},
disconnected: function(){},
"li click": function(){}
}
Posted by @justinbmeyer from canjs/canjs#3570
I would like to see the
eventsobject change to avoid the{}in"{data} thing"sorta stuff, especially since the element is the view model now.Could we have something like: