# Yahoo! UI Library

### base 3.1.1

Yahoo! UI Library > base
Search:
Filters Show Private Show Protected Show Deprecated

### Module: base

The base module provides the Base class, which objects requiring attribute and custom event support can extend. The module also provides two ways to reuse code - It augments Base with the Plugin.Host interface which provides plugin support and also provides the Base.build method which provides a way to build custom classes using extensions.

This module contains the following classes:

- Base

#### Submodules:

`base-base`
  The base-base submodule provides the Base class without the Plugin support, provided by Plugin.Host, and without the extension support provided by Base.build.
`base-build`
  The base-build submodule provides Base.build functionality, which can be used to create custom classes, by aggregating extensions onto a main class.
`base-pluginhost`
  The base-pluginhost submodule adds Plugin support to Base, by augmenting Base with Plugin.Host and setting up static (class level) Base.plug and Base.unplug methods.

Copyright © 2010 Yahoo! Inc. All rights reserved.