Adding eventListeners to array/vector?

Hello, is it possible to add eventListener to an array or vector?

I need it for removing dynamically added event listeners (which i cannot work out)