Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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