August 29, 2013

YUI Handbook

Note : AUI (Alloy User Interface) is a wrapper to YUI (Yahoo User Interface), so all JavaScript syntax will remain same.

Lets explore some features of YUI.

1. Loading Libraries on demand
In YUI you can load the libraries that are required for your Website.

ex :

2. Node Selector
As of Jquery YUI comes with a powerful node selector feature. Lets see few examples.


Note : If the element is not preset if DOM then will give NullPointer Error, but Y.all will not show any error. So while using you can wrap it with a if block for safety.

Few Selector Examples

Few more Examples :


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.