NAME DOM.Events - Event registration abstraction layer SYNOPSIS JSAN.use("DOM.Events"); function handleClick(e) { e.currentTarget.style.backgroundColor = "#68b"; } DOM.Events.addListener(window, "load", function () { alert("The page is loaded."); }); DOM.Events.addListener(window, "load", function () { // this listener won't interfere with the first one var divs = document.getElementsByTagName("div"); for(var i=0; i. COPYRIGHT Copyright (c) 2005 Justin Constantino. All rights reserved. This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licence.