Skip to content

Instantly share code, notes, and snippets.

@rzhw
Created May 26, 2014 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rzhw/18852f2e95fa30d0aaf3 to your computer and use it in GitHub Desktop.
Save rzhw/18852f2e95fa30d0aaf3 to your computer and use it in GitHub Desktop.
Atom 0.99.0 EditorView testing
atom.workspaceView.getEditorViews()[0].scrollView.on('mousewheel', function(){alert('hi')})
http://stackoverflow.com/a/21261771/77922
jQuery = require('atom').$
findEventHandlers("mousewheel", atom.workspaceView.getEditorViews()[0].scrollView)
atom.workspaceView.getActiveView().is(".editor")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment