Wednesday, October 28, 2009

Events Evolved by Luke Smith

  • Event handling history- we normalized the event listening mechanism and the event objects are normalized today.
  • Normalized subscription, normalized event handling, DOM like method names
  • In YUI3 the node instance gives a dom like contenxt, we give you the DOM and it works!
  • example - node.on("click", clickHandler) - this is more of JQuery style where everything is JQuery
  • custom events are normalized too from YUI 2 to 3. The event methods are shortened now

Posted via web from spartan's posterous

No comments: