It's easy to define event handlers using "when"
prototype Link extends inline { href = "http://www.w3.org/"; ... when onmousedown { document.load(this.href); } }