Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.textile
Octocat-spinner-32 demo.htm
Octocat-spinner-32 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.