Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.textile
demo.htm
quickyui.js

README.textile

QuickYUI

This module is aimed at assisting potential users of YUI 3 that have a problem with the YUI.use/callback approach.

Using

First, pick all the module you want to use from the Dependency Configurator

Now, include that combo URL on your page.
Then include quickyui.js after the main YUI include.
You are ready to go!!

Example

Live Example

<script src="yui_combo_url"></script>
<script src="quickyui.js"></script>


<script>
Y.ready(function() {
    Y.one('body').setStyle('backgroundColor', 'red').append('<p>Ready #1 called</p>');
});

Y.ready(function() {
    Y.one('body').setStyle('backgroundColor', 'blue').append('<p>Ready #2 called</p>');
});
Y.ready(function() {
    Y.one('body').setStyle('color', 'white').append('<p>Ready #3 called</p>');
});
</script>
Something went wrong with that request. Please try again.