• 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.

    AlloyUI Base (gallery-aui-base) on cdn

    Last Updated: 06/6/10
    + 0 -

    Liferay, Inc.

    See 69 more by this user.

    Created: 06/2/10
    Last CDN Push: 02/9/11
    Build Tag: gallery-2011.02.09-21-32
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.1.1
    Free for use.

    A core module that adds the underlying framework for AlloyUI. This module provides functionality such as
    Language extensions
    DelayedTask
    The base CSS framework
    Component
    UA extensions
    Browser selectors
    HTML5 "shiving" for IE
    Node extensions

    • Tags:
    • alloyui
    • liferay
    • node
    • component
    • widget
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    To view all available events and configuration attributes, view the documentation.
    In addition to requiring a couple of modules by default, the AlloyUI base module also adds in the following extensions:

    Code Sample

    <script src="http://yui.yahooapis.com/3.1.1/build/yui/yui-min.js"></script>
    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2011.02.09-21-32',
        modules: {
            'gallery-aui-skin-base': {
                fullpath: 'http://yui.yahooapis.com/gallery-2011.02.09-21-32/build/gallery-aui-skin-base/css/gallery-aui-skin-base-min.css',
                type: 'css'
            },
            'gallery-aui-skin-classic': {
                fullpath: 'http://yui.yahooapis.com/gallery-2011.02.09-21-32/build/gallery-aui-skin-classic/css/gallery-aui-skin-classic-min.css',
                type: 'css',
                requires: ['gallery-aui-skin-base']
            }
        }
    }).use('gallery-aui-base', function(Y) {
     		// Language extensions:
     
    		Y.Lang.emptyFn; // NOOP stub function
    		Y.Lang.emptyFnFalse; // NOOP stub function that returns false
    		Y.Lang.emptyFnTrue; // NOOP stub function that returns true
     
    		Y.Lang.escapeRegEx(str); //Escapes a regular expression string
    		Y.Lang.isGuid(id); //determines if the passed in ID was automatically generated by YUI
    		Y.Lang.toQueryString(obj); //converts an object to a querystring, evaluating methods in an object to their return value
     
    		// Array extensions:
     
    		Y.Array.remove(arr, from, to); // removes a portion of an array specified in the from and to params
    		Y.Array.removeItem(arr, item); // removes a given item from an array
     
    		// Object extensions:
     
    		Y.Object.isEmpty(obj); // determines if the object is empty
     
    		// UA extensions:
     
    		Y.UA.version.string; // String value of the browser version
    		Y.UA.version.number; // Numeric float value of the browser version
    		Y.UA.version.major; // Major integer of the browser version
     
    		Y.UA.renderer; // Underlying rendering engine, such as trident, gecko, webkit, or presto
     
    		Y.UA.gecko; // True if the browser is gecko
    		Y.UA.webkit; // True if the browser is webkit
     
    		Y.UA.aol; // True if the browser is the AOL browser
    		Y.UA.camino; // True if the browser is Camino
    		Y.UA.firefox; // True if the browser is Firefox
    		Y.UA.flock; // True if the browser is Flock
    		Y.UA.icab; // True if the browser is iCab
    		Y.UA.konqueror; // True if the browser is Konqueror
    		Y.UA.mozilla; // True if the browser is Mozilla
    		Y.UA.ie; // True if the browser is IE
    		Y.UA.netscape; // True if the browser is Netscape
    		Y.UA.opera; // True if the browser is Opera
    		Y.UA.chrome; // True if the browser is Chrome
    		Y.UA.safari; // True if the browser is Safari
    		Y.UA.browser; // the reported browser string
     
    		Y.UA.win; // True if the operating system is Windows
    		Y.UA.mac; // True if the operating system is Mac OSX
    		Y.UA.linux; // True if the operating system is Linux
    		Y.UA.iphone; // True if the platform is the iPhone
    		Y.UA.ipad; // True if the platform is the iPad
    		Y.UA.sun; // True if the operating system is the SunOS
    		Y.UA.os; // the reported operating system
     
    		Y.UA.platform; // The reported navigator platform
    		Y.UA.agent;  // The reported user agent
     
    		// Browser selectors
     
    		// Adds the following browser class names to the HTML element of the page
    		// renderer
    		// browser
    		// browser+major version
    		// os
    		// "js"
     
    		// HTML5 Shiving
    		// Automatically shivs the document to support HTML5 elements for IE 6, 7, and 8 so that they support css styling
     
    });

    Forum Posts

    Subject Author Date
    Why? John Lindal 06/9/10
    Re: Why? Murray Macchio 06/10/10
    Re: Why? Murray Macchio 06/10/10
    Styling Eike Hirsch 06/11/10
    Re: Why? Eduardo Lundgren 06/11/10
    Re: Styling Eduardo Lundgren 06/11/10
    Re: Why? Murray Macchio 06/11/10
    Re: Why? Eduardo Lundgren 06/11/10
    Re: Styling Eike Hirsch 06/14/10
    Parallel thinking Peter Peterson 06/15/10

    © 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