Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive Event in callback (Part 1) #16

Merged
merged 6 commits into from
Mar 8, 2021
Merged

Receive Event in callback (Part 1) #16

merged 6 commits into from
Mar 8, 2021

Conversation

lukechu10
Copy link
Member

@lukechu10 lukechu10 commented Mar 8, 2021

Callbacks now accept a parameter of type Event.

Part 2 will make the event the appropriate type (e.g. MouseEvent, InputEvent etc...), depending on the event name.

Closes #12

@lukechu10 lukechu10 added the C-enhancement Category: new feature or improvement to existing feature label Mar 8, 2021
@lukechu10 lukechu10 merged commit ef0c6b7 into master Mar 8, 2021
@lukechu10 lukechu10 deleted the lukechu10-events branch March 8, 2021 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: new feature or improvement to existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return Event in callbacks
1 participant