-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat(chip): add the chip component #10
Conversation
adamraider
commented
Apr 18, 2019
@@ -0,0 +1,68 @@ | |||
class Chip { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs tests before we merge.
} | ||
|
||
_bindEventListeners() { | ||
this._root.addEventListener('mousedown', this.onMousedown); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts on adding a touchstart
event as well? Not sure what the best UX is for this - seeing on my phone that they don't work very well for quicker, slightly clumsier gestures
Closing in favor of #181 |