(element)
| 404 | */ |
| 405 | class SimpleEventHandler { |
| 406 | constructor(element) { |
| 407 | this.element = element; |
| 408 | this.eventListeners = []; |
| 409 | } |
| 410 | bind(eventNames, eventFunction) { |
| 411 | for (const eventName of eventNames.split(' ')) { |
| 412 | this.eventListeners.push({ eventName, eventFunction }); |
nothing calls this directly
no outgoing calls
no test coverage detected