
JSJ 474: Things JavaScript Developers Should Know, Part 1
JavaScript Jabber
00:00
Is It Still a Problem in the DOM?
Backward compatibility is an alternative, more modern way of achieving the same effect. There are two other attributes there that, fror my perspective, are are much more useful. The first one is actually fairly easy to understand. It's called once. And if you specify that, then that event will be triggered once and then immediately removed. So instead of remove a vent listener havent, you know, if you just want to be invoked once, rather than doing the add and then having to do the remove yourself,. You can just specify once there, and it will be invoked once. If its removed automatically for you. That's cool. But i sot therefor you could say backward
Play episode from 49:48
Transcript


