Skip to content

Add possibility to pass options to addEventListener#4

Merged
aminya merged 1 commit into
atom-community:masterfrom
lgeiger:event-listener-options
Nov 22, 2020
Merged

Add possibility to pass options to addEventListener#4
aminya merged 1 commit into
atom-community:masterfrom
lgeiger:event-listener-options

Conversation

@aminya
Copy link
Copy Markdown
Member

@aminya aminya commented Nov 22, 2020

This allows users to pass options to addEventListener. This is especially useful when using passive event listeners which can greatly improve scrolling performance. See atom-minimap/minimap#683

Originally posted at abe33#3 by @lgeiger

This allows users to pass options to [`addEventListener`](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Parameters). This is especially usefull when using passive event listeners which can greatly improve scrolling performance. See atom-minimap/minimap#683
@aminya aminya added the enhancement New feature or request label Nov 22, 2020
@aminya aminya merged commit 9176eb9 into atom-community:master Nov 22, 2020
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 0.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants