Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

elem[ bindMethod ]( startEvent, this ); #6

Closed
LeeeeeeM opened this issue Mar 28, 2018 · 1 comment
Closed

elem[ bindMethod ]( startEvent, this ); #6

LeeeeeeM opened this issue Mar 28, 2018 · 1 comment

Comments

@LeeeeeeM
Copy link

hello,desandro,i'm a new born.

elem[ bindMethod ]( startEvent, this );

i wonder what is 'this' means. i'm confusing.

@desandro
Copy link
Member

Thanks for this question! I wrote up a whole blog post: What is this in event listeners?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants