ralix icon indicating copy to clipboard operation
ralix copied to clipboard

Adding options in `on` helper

Open franpb14 opened this issue 1 year ago • 1 comments

in addEventListener we can pass an object with some usefult options like once, capture or signal but right now we can't pass this options using the on helper. So my proposal is to add an optional param: on(query, events, callback, options = {})

franpb14 avatar Mar 06 '24 11:03 franpb14

Seems like this is a good idea actually. Please feel free to send a patch!

markets avatar May 07 '24 17:05 markets