Fetching contributors…
Cannot retrieve contributors at this time
17 lines (11 sloc) 527 Bytes

@module {function} can-event-dom-enter/add-global/add-global can-event-dom-enter/add-global/add-global @parent can-event-dom-enter @description

Registers a global enter event, allowing listening to enter anywhere in your application.

@signature unregister()

Importing can-event-dom-enter/add-global/add-global registers the enter event globally. Calling unregister() removes it from the global registry.

import unregister from 'can-event-dom-enter/add-global/add-global';

// Later time