How to raise/subscribe to custom events


#1

How to raise/subscribe to custom events


Summary text of link destination ignores hash part of url
#2

This doc describes the up-to-date way to do this. (Harder than the old jQuery way).

Raising …

https://github.com/atom/atom/blob/master/docs/upgrading/upgrading-your-package.md#providing-events-using-the-emitter

Subscribing …

https://github.com/atom/atom/blob/master/docs/upgrading/upgrading-your-package.md#subscribejqueryobject-selectoroptional-event-method

Edit: The links above go to the actual parts of the pages even though the these summary boxes show the top of the page. This is sort of a bug in this forum.