DOM
Element#delgate
Filed in DOM - over 4 years ago
* Delegation avoids overhead associated with attaching events to every element that needs to fire a callback
* Delegation avoids need to reattach observers when DOM is manipulated
* Specify rules one at a time or in objects with selector-function pairs
* Stop all delegates for a selector, event, or element
* Caches compiled selectors for faster css queries
* Apply delegates to any element
* Releases delegate cache on window unload



