4 ms·
Not every utility function is a one-liner. For example $.fn.one() or $.fn.on() with multiple events is easier to write with jQuery/Cash. Have a look under the h
by niutech 2y ago
Not every utility function is a one-liner. For example $.fn.one() or $.fn.on() with multiple events is easier to write with jQuery/Cash. Have a look under the hood: https://github.com/fabiospampinato/cash/blob/master/src/events/on.ts https://github.com/fabiospampinato/cash/blob/master/src/even...