Add off method#60
Conversation
|
Hey @jamesfzhang i'm definitely opened to this. I'll do some tests to make sure it's working and then merge. Thanks! |
|
@peduarte Fantastic. I've been using this locally for testing and it works fine. Thanks! |
| @@ -154,9 +154,11 @@ | |||
|
|
|||
| // Method so it is nicer for the user to use custom events | |||
There was a problem hiding this comment.
Can you replace this comment with:
Method to bind custom event
|
Just updated the commit with comments. |
|
Nice one, thank you |
|
@jamesfzhang Hey, |
|
@peduarte You need to use a named function (as opposed to an anonymous function) like so: |
|
Ok, that's good. I'm happy with it! |
|
@peduarte Just updated the readme. Thanks! |
|
👍 |
What do you think? @peduarte See #59 for details. Thanks!