Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 36 lines (24 sloc) 0.909 kb
466f373 @davglass Initial Commit of QuickYUI
authored
1 h1. QuickYUI
2
3 This module is aimed at assisting potential users of YUI 3 that have a problem with the YUI.use/callback approach.
4
5 h2. Using
6
7 First, pick all the module you want to use from the "Dependency Configurator":http://developer.yahoo.com/yui/3/configurator/
8
9 Now, include that combo URL on your page.
10 Then include quickyui.js *after* the main YUI include.
11 You are ready to go!!
12
13 h3. Example
14
352266e @davglass README Update
authored
15 "Live Example":http://davglass.github.com/quickyui/
16
466f373 @davglass Initial Commit of QuickYUI
authored
17 <pre class="console">
18 <script src="yui_combo_url"></script>
19 <script src="quickyui.js"></script>
20
21
22 <script>
23 Y.ready(function() {
24 Y.one('body').setStyle('backgroundColor', 'red').append('<p>Ready #1 called</p>');
25 });
26
27 Y.ready(function() {
28 Y.one('body').setStyle('backgroundColor', 'blue').append('<p>Ready #2 called</p>');
29 });
30 Y.ready(function() {
31 Y.one('body').setStyle('color', 'white').append('<p>Ready #3 called</p>');
32 });
33 </script>
34 </pre>
35
Something went wrong with that request. Please try again.