YUI recommends YUI3.
YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.
This documentation is no longer maintained.
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.)