Prototype Plugins



Filed in DOM - over 5 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



Filed in Ajax, DOM, Events - over 5 years ago

A simple class for loading JavaScript and CSS on-demand with onLoad event.

© 2014 Prototype Plugins. We love Prototype &