The name of the trigger event (e.g. 'click').
The function to be called when the event is triggered.
The name the listener will be registered under in eventActions.
Additional args passed through to the listener when called.
Options to be used when the listener is attached to the element.
The DomItem which will receive the event listener.
Register the listener function, attach it as a descriptor on the item, then bind it onto the real element - the full setup sequence for a single event listener, in order:
item is the last parameter (instead of name/customArgs/options having literal defaults) so addEventListener can be curried directly into the pipe below without an argument-reordering wrapper.