Skip to content

Accessing event arguments in notification funciton like bind and unbindΒ #17

@rutvik18

Description

@rutvik18
'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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions