'created' : {
"draft" : function(){
return this.drafted;
},
"publish" : function (projectid) {
return this.published;
}
},
If I want to access projectid in bind, how can I do that? Or is there any way that I can pass data to the bind() function?
I need this for a couple of use cases. For instance, I want to log every transition along with the specific data.