Fork me on GitHub


Jump to Table of Contents

Containers are "boxes", containing one or more Terminals. Containers are willingly generic, so that an application can easily create custom Containers.

Getting Started

To include the source files for Container and its dependencies, first load the YUI seed file, the WireIt seed file, and set the path to the WireIt build directory.

<script src=""></script>
<script src="../../build/wireit-loader/wireit-loader.js"></script>
<script>YUI_config.groups.wireit.base = '../../build/';</script>

Next, create a new YUI instance for your application and populate it with the modules you need by specifying them as arguments to the YUI().use() method. YUI will automatically load any dependencies required by the modules you specify.

// Create a new YUI instance and populate it with the required modules.
YUI().use('container', function (Y) {
    // Container is available and ready for use. Add implementation
    // code here.

Using Container

Quick Start


Creating new containers/Extending existing containers