3 ms·
It does support onclick though. This isn't a far off derivation. Also "|once" is a whole lot cleaner and more terse than the "once" variant of addEventListener,
by ttfkam 3y ago
It does support onclick though. This isn't a far off derivation. Also "|once" is a whole lot cleaner and more terse than the "once" variant of addEventListener, to be sure.
Anyone who already knows HTML and native event handling could pick this up in less than 5 minutes. Good enough.