SimpleYUI is a new way of loading and instantiating YUI. The SimpleYUI file contains a rollup of basic Ajax library functionality: DOM tasks, event abstraction, transitions, and Ajax. Unlike other ways of loading YUI, SimpleYUI creates a YUI instance immediately upon loading, binding all included components to a global Y. Using SimpleYUI is easy:
SimpleYUI gives you all of the standard DOM interactions in the YUI 3 API:
All of the UI effects that are part of the (new-for-3.2.0) YUI Transition module are available in SimpleYUI:
SimpleYUI provides the IO module's basic Ajax functionality:
You aren't limited to what comes bundled with SimpleYUI. You can bring in any other YUI 3 component, YUI 3 Gallery module, or YUI 2 component with a simple use() statement at any time.
Last modified: Friday, 03rd September, 2010 @ 10:20am