1.0.5 • Published 2 years ago

eevent v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eevent

A small library to get listeners added in elements.

Usage

After installation the only thing you need to do is import the module:

import 'eevent';

const dom1 = document.getElementById('eevent')
dom1.addEventListener('click', (e) => {
  console.log('click1')
})
console.log(dom1.getAllEvents())
console.log(dom1.getAllEventListeners())
  • getAllEventListeners: Gets a map of all the listeners.
  • getAllEvents: Gets all the listener's names.

License

MIT

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago