Skip to content

Conversation

@yuripourre
Copy link
Contributor

@yuripourre yuripourre commented Jun 27, 2021

Rename ClickEvent to MouseEvent, following this convention/specification: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent

Also, following the same specification, adds type() to Event (it is not ideal but is useful to handle multiple events with a single EventListener).

@yuripourre yuripourre changed the title Rename ClickEvent to MouseEvent and add getType() to Event Rename ClickEvent to MouseEvent and add type() to Event Jun 28, 2021
@mirkosertic mirkosertic merged commit 34311d4 into mirkosertic:master Jun 29, 2021
@mirkosertic
Copy link
Owner

I've merged your changes to the master branch. Thank you for your contribution!

@yuripourre
Copy link
Contributor Author

@mirkosertic Thank you so much!

mirkosertic pushed a commit that referenced this pull request Nov 8, 2021
* Rename ClickEvent to MouseEvent
* Add getType method to Event
* Rename getType() to type() to follow Bytecoder's standard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants