kiltjs/jqlite

add the .add() function

Closed this issue · 3 comments

Hi @jgermade ,

I'm trying to use the same event handler for multiple jquery objects and from what i've found jquery uses the .add() function like so:

$(obj1).add(obj2).on('click', some_function);

is there another way to do so in jqlite? or is it possible to add the .add() function?

note: i'm not talking about css selectors like '.class1'

thanks in advance!

Hi @RongBranovate, I think is a great idea... working on this!

Hi @RongBranovate ,

.add() is added!

think is an usefull method, thanks as always!!

awesome! thanks!