YUI recommends YUI 3.
YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.
delegate
method that
facilitates easy creation of delegated event listeners. (Note: Using CSS
selectors as the filtering criteria for delegated event listeners requires
inclusion of the Selector Utility.)