Re:Why Gov.uk's Exit this Page component doesn't use the Esc...
by echoangle on Thursday October 10, 2024 @12:48AM
(#41795611)
Shouldn’t this be addEventHandler? Otherwise, you can only have a single onload callback, right?
[ Parent
| on HN ]
Re:Why Gov.uk's Exit this Page component doesn't use the Esc...
by marcosdumay on Thursday October 10, 2024 @08:44AM
(#41798249)
It should be addEventHandler if you want to have more than one handler, yes.
Otherwise, it's fine.