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

Gallery

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • FAQ
  • Developer FAQ
  • Developer Guide
  • Module Setup

Tag Cloud

node apipkin davglass table foxxtrot model form lsmith nzakas datatable solmsted widget plugin yql satyam ericf event caridy greghinch jafl liferay io async animation css

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.

    Port Base (gallery-port) on cdn

    Last Updated: 11/2/09
    + 1 -

    Dav Glass

    YUI Developer

    See 9 more by this user.

    Created: 11/2/09
    Last CDN Push: 11/2/09
    Build Tag: gallery-2009.11.02-20
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.0.0
    Free for use.

    This module will aid a developer in porting from a newer YUI2 module to a YUI3 module. It mimics the YAHOO.util.Element class from 2.x.

    This module contains 2 classes: Y.Port & Y.PortBase

    Y.Port will attempt to create a local YAHOO object for use when porting.

    Y.PortBase is the class that mimics YAHOO.util.Element.

    • Tags:
    • yui2
    • element
    • port
    • davglass
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    Code Sample

    <script src="http://yui.yahooapis.com/3.0.0/build/yui/yui-min.js"></script>
    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2009.11.02-20'
    }).use('gallery-port', function(Y) {
        //Creating the local YAHOO copy
        var YAHOO = Y.Port(),
            Lang = YAHOO.lang,
            Dom = YAHOO.util.Dom,
            Event = YAHOO.util.Event;
     
       //Extending
      Y.extend(SimpleEditor, Y.PortBase, {
       });
    });

    Forum Posts

    No forum posts for this module.

    © 2006-2011 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