Skip to content

davglass/quickyui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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>

Releases

No releases published

Packages

No packages published