getting-started.mustache revision 456a78dc2c857c7c6ba81fc837c08f03b14b17f4
409N/A<h2>Getting Started</h2>
104N/A
104N/A<p>
104N/ATo include the source files for {{displayName}} and its dependencies, first load
104N/Athe YUI seed file if you haven't already loaded it.
104N/A</p>
104N/A
104N/A```
104N/A<script src="http://yui.yahooapis.com/{{{yuiVersion}}}/build/yui/yui-min.js"></script>
104N/A```
104N/A
104N/A<p>
104N/ANext, create a new YUI instance for your application and populate it with the
104N/Amodules you need by specifying them as arguments to the `YUI().use()` method.
104N/AYUI will automatically load any dependencies required by the modules you
104N/Aspecify.
104N/A</p>
104N/A
104N/A```
104N/A// Create a new YUI instance and populate it with the required modules.
104N/AYUI().use({{{useParams}}}, function (Y) {
104N/A // {{{displayName}}} is available and ready for use. Add implementation
310N/A // code here.
104N/A});
104N/A```
104N/A
104N/A<p>
296N/AFor more information on creating YUI instances and on the
310N/A<a href="http://developer.yahoo.com/yui/3/api/YUI.html#method_use">`use()`
384N/Amethod</a>, see the documentation for the
104N/A<a href="../yui/index.html">YUI Global object</a>.
461N/A</p>
461N/A