• Register
  • Log In
  • Home
  • Quick Start
    • Configurator
    • Download YUI 3
  • Documentation
    • User Guides
    • Examples
    • API Docs
    • Environments
    • Tutorials
  • Community
    • Gallery
    • Blog
    • Forums
    • YUI Theater
    • Calendar
  • Contribute
    • YUI on GitHub »
    • File a Ticket
    • View Tickets
    • Dashboard
  • Other Projects
    • Shifter »
    • Yogi »
    • YUI 2
    • YUI Doc »
    • YUI Test
    • YUI Website
    • YUI Compressor »
    • YUI Builder »
    • YUI PHP Loader
    • Grid Builder »
    • Skin Builder »
  • YUI
  • >
  • Community
  • >
  • Gallery

Gallery

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • Yogi Documentation
  • Shifter Documentation
  • Developer Guide
  • Module Setup

Tag Cloud

Context Navigation

    YUI Library is not responsible for bugs or support with this module. It is available as a free service. For support please contact the module owner with the provided links.

    Yi Lang (gallery-yi-lang)

    Last Updated: 05/13/11
    + 0 -

    Johnny Weng Luu

    YUI Contributor

    Created: 05/13/11
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.3.0
    Free for use.

    What



    Abstraction layer over YUI for making everyday coding easier.

    Why



    - Gives you commonly used "LEGO" parts so that you can focus on creating the app, not the libraries.
    - Uses YUI extensively so that your code feels familiar.
    - Works on both browsers and node.js.

    • Tags:
    • johnnywengluu
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    How to use it

    Code Sample

    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);
      });
     
    });

    Forum Posts

    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