Johnny Weng Luu![]()
What
Why
How to use it
YUI().use('gallery-yi-lang', function(Y) {
function doSomethingAsynchronously() {
var result = new Y.Yi.Lang.Result();
setTimeout(function () {
result.fire('success', {result: 'success'};
}, 1000);
return result;
});
var result = doSomethingAsynchronously();
result.on('success', function (data) {
Y.log(data);
});
});| Subject | Author | Date |
|---|---|---|
| Plugin Status | Serge Karalli | 01/18/12 |
| Re: Plugin Status | Serge Karalli | 01/20/12 |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info