Name Date Size

.. 2012-04-05 22:55:32 100

build.properties 2011-01-04 20:55:37 829

build.xml 2011-08-03 17:50:19 390

HISTORY.md 2011-09-27 08:41:41 179

js 2012-04-05 22:55:14 5

Makefile 2011-08-03 17:50:19 82

README.md 2011-08-04 01:38:14 1.2 KiB

scripts 2012-04-05 22:55:32 4

tests 2012-02-16 10:58:23 5

README.md

Simple YUI
==========
The simpleyui.js file is a rollup of commonly used YUI modules delivered with a
global `Y` instance to which all included functionality is attached.
The intended usage of this file is to provide the simplest possible starting
point for using YUI 3. It supports the following usage pattern:
<script src="http://yui.yahooapis.com/3.4.0/build/simpleyui/simpleyui.js"></script>
<script>
Y.one("#foo").on("click", function(e) {
//handle click
});
</script>
Simple YUI bundles the following modules:
* `yui`
* `oop`
* `dom`
* `event-custom`
* `event-base`
* `pluginhost`
* `node`
* `event-delegate`
* `io-base`
* `json-parse`
* `transition`
* `selector-css3`
* `dom-style-ie`
You can add functionality to the global `Y` instance at any time, drawing from
any module in the YUI 3, YUI 3 Gallery, or YUI 2-in-3 project:
<script>
Y.use("slider", function(Y) {
// Create a horizontal Slider 300px wide and values from -100 to 100
var slider = new Y.Slider({
length : 300,
min : -100,
max : 100
});
})
</script>