Event.Target.html revision 4fcbec6145d16637205990699912fb90f6a3807c
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico<html>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico<head>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <title>API: event Event.Target (YUI Library)</title>
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico <link rel="stylesheet" type="text/css" href="assets/api.css">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <script type="text/javascript" src="assets/api-js"></script>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <script type="text/javascript" src="assets/ac-js"></script>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico</head>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico<body id="yahoo-com">
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico<div id="doc3" class="yui-t2">
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico <div id="hd">
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico <a href="http://developer.yahoo.com/yui/"><h1>Yahoo! UI Library</h1></a>
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico <h3>event&nbsp; <span class="subtitle">3.00PR1</span></h3>
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico <p>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <a href="/index.html">Yahoo! UI Library</a>
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico &gt; <a href="/module_event.html">event</a>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico &gt; Event.Target
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </p>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico <div id="bd">
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <div id="yui-main">
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <div class="yui-b">
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <form name="yui-classopts-form">
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <span id="classopts"><input type="checkbox" name="showprivate" id="showprivate" /> <label for="showprivate">Show Private</label></span>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <span id="classopts"><input type="checkbox" name="showprotected" id="showprotected" /> <label for="showprotected">Show Protected</label></span>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <span id="classopts"><input type="checkbox" name="showdeprecated" id="showdeprecated" /> <label for="showdeprecated">Show Deprecated</label></span>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </form>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <h2>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico Class <b>Event.Target</b>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <span class="extends">
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </span>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <span class="extends">
9f6ce80ee91e060937339e86ad1d1647cdcd1caccmarqu </span>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </h2>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <!-- class tree goes here -->
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <div class="summary description">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico Event.Target is designed to be used with Y.augment to wrap
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoEvent.Custom in an interface that allows events to be subscribed to
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoand fired by name. This makes it possible for implementing code to
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNicosubscribe to an event that either has not been created yet, or will
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNiconot be created at all.
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </div>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="section method details">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <h3 id="methods">Methods</h3>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="content">
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico <div class="">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <h4>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <a name="method_addTarget">addTarget</a></h4>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <div class="detail">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico void
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <strong>addTarget</strong>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico (
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico o
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico )
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="description">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico Registers another Event.Target as a bubble target. Bubble order
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNicois determined by the order registered. Multiple targets can
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicobe specified.
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </div>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="description">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dt>Parameters:</dt>
7b1aa68aa70f0fd01248fda5441d4e1a5a103786JazzyNico <dd>
7b1aa68aa70f0fd01248fda5441d4e1a5a103786JazzyNico <code>o &lt;Event.Target&gt;</code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico the target to add
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </dd>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </dl>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dl>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <dt>Returns:
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico void
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </code></dt>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dd></dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </div>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </div>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <hr />
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </div>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <div class="">
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <h4>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <a name="method_after">after</a></h4>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="detail">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico void
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <strong>after</strong>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico (
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico type
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico ,
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico fn
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico ,
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico context
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico ,
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico args*
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico )
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="description">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico Subscribe to a custom event hosted by this object. The
037bf91e68f10e796fecad5054b332b003c3a562JazzyNicosupplied callback will execute after any listeners add
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicovia the subscribe method, and after the default function,
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoif configured for the event, has executed.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="description">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dt>Parameters:</dt>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dd>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <code>type &lt;string&gt;</code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico The type of the event
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <code>fn &lt;Function&gt;</code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico The callback
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </dd>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dd>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <code>context &lt;object&gt;</code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico The execution context
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <code>args* &lt;object&gt;</code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico 1..n params to supply to the callback
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </dd>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dt>Returns:
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico void
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </code></dt>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dd></dd>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </dl>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <hr />
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <div class="">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <h4>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <a name="method_bubble">bubble</a></h4>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <div class="detail">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico boolean
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <strong>bubble</strong>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico (
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico evt
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico )
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <div class="description">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico Propagate an event
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="description">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dt>Parameters:</dt>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <code>evt &lt;Event.Custom&gt;</code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico the custom event to propagate
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </dd>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </dl>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dl>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dt>Returns:
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico boolean
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </code></dt>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dd>the aggregated return value from Event.Custom.fire</dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <hr />
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <h4>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <a name="method_fire">fire</a></h4>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <div class="detail">
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico boolean
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <strong>fire</strong>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico (
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico type
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico ,
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico arguments
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico )
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="description">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico Fire a custom event by name. The callback functions will be executed
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNicofrom the context specified when the event was created, and with the
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNicofollowing parameters.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoIf the custom event object hasn't been created, then the event hasn't
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNicobeen published and it has no subscribers. For performance sake, we
037bf91e68f10e796fecad5054b332b003c3a562JazzyNicoimmediate exit in this case. This means the event won't bubble, so
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoif the intention is that a bubble target be notified, the event must
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNicobe published on this object first.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="description">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dl>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dt>Parameters:</dt>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <code>type &lt;String|Object&gt;</code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico The type of the event, or an object that contains
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoa 'type' property.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dd>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <code>arguments &lt;Object*&gt;</code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico an arbitrary set of parameters to pass to
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNicothe handler.
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </dl>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dt>Returns:
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico boolean
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </code></dt>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dd>the return value from Event.Custom.fire</dd>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </dl>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <hr />
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <div class="">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <h4>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <a name="method_getEvent">getEvent</a></h4>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <div class="detail">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico Event.Target
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <strong>getEvent</strong>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico (
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico type
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico )
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="description">
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico Returns the custom event of the provided type has been created, a
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicofalsy value otherwise
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="description">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dt>Parameters:</dt>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <code>type &lt;string&gt;</code>
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico the type, or name of the event
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </dd>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </dl>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dl>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dt>Returns:
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico Event.Target
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </code></dt>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dd>the custom event or a falsy value</dd>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </div>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <hr />
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </div>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <div class="">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <h4>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <a name="method_publish">publish</a></h4>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="detail">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <code>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico Event.Custom
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <strong>publish</strong>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico (
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico type
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico ,
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico opts
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico )
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </code>
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <div class="description">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico Creates a new custom event of the specified type. If a custom event
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoby that name already exists, it will not be re-created. In either
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNicocase the custom event is returned.
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <div class="description">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico <dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dt>Parameters:</dt>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dd>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <code>type &lt;string&gt;</code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico the type, or name of the event
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dd>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <code>opts &lt;object&gt;</code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico optional config params. Valid properties are:
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico<ul>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico<li>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false)
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico</li>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico<li>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico'bubbles': whether or not this event bubbles (true)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico</li>
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico<li>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico'context': the default execution context for the listeners (this)
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico</li>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico<li>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico'defaultFn': the default function to execute when this event fires if preventDefault was not called
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico</li>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico<li>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico'emitFacade': whether or not this event emits a facade (false)
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico</li>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico<li>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico'fireOnce': if an event is configured to fire once, new subscribers after
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNicothe fire will be notified immediately.
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico</li>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico<li>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico'preventable': whether or not preventDefault() has an effect (true)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico</li>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico<li>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico'preventedFn': a function that is executed when preventDefault is called
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico</li>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico<li>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico'queuable': whether or not this event can be queued during bubbling (false)
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico</li>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico<li>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico'silent': if silent is true, debug messages are not provided for this event.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico</li>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico<li>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico'stoppedFn': a function that is executed when stopPropagation is called
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico</li>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico<li>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico'type': the event type (valid option if not provided as the first parameter to publish)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico</li>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico</ul>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </dd>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico </dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dt>Returns:
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico Event.Custom
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </code></dt>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dd>the custom event</dd>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </dl>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <hr />
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <div class="">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <h4>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <a name="method_ready">ready</a></h4>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="detail">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico YUI
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <strong>ready</strong>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico (
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico f
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico ,
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico c
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico ,
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico args*
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico )
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="description">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico Subscribes to the yui:load event, which fires when a Y.use operation
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicois complete.
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </div>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="description">
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <dl>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <dt>Parameters:</dt>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <code>f &lt;Function&gt;</code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico the function to execute
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </dd>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <dd>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico <code>c &lt;object&gt;</code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico Optional execution context
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico </dd>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <code>args* &lt;object&gt;</code>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico 0..n Additional arguments to append
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoto the signature provided when the event fires.
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico </dd>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </dl>
03a66cd4de660bda047af143016e23dbcbbc9b1aJazzyNico
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico <dl>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <dt>Returns:
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <code>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico YUI
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico </code></dt>
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico <dd>the YUI instance</dd>
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico </dl>
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <hr />
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </div>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <div class="">
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico <h4>
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico <a name="method_removeTarget">removeTarget</a></h4>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <div class="detail">
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <code>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico void
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico <strong>removeTarget</strong>
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico (
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico o
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
037bf91e68f10e796fecad5054b332b003c3a562JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico )
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico </code>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
<div class="description">
Removes a bubble target
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>o &lt;Event.Target&gt;</code>
the target to remove
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_subscribe">subscribe</a></h4>
<div class="detail">
<code>
void
<strong>subscribe</strong>
(
type
,
fn
,
context
,
args*
)
</code>
<div class="description">
Subscribe to a custom event hosted by this object
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>type &lt;string&gt;</code>
The type of the event
</dd>
<dd>
<code>fn &lt;Function&gt;</code>
The callback
</dd>
<dd>
<code>context &lt;object&gt;</code>
The execution context
</dd>
<dd>
<code>args* &lt;object&gt;</code>
1..n params to supply to the callback
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_unsubscribe">unsubscribe</a></h4>
<div class="detail">
<code>
boolean
<strong>unsubscribe</strong>
(
type
,
fn
,
context
)
</code>
<div class="description">
Unsubscribes one or more listeners the from the specified event
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>type &lt;string|Object&gt;</code>
Either the handle to the subscriber or the
type of event. If the type
is not specified, it will attempt to remove
the listener from all hosted events.
</dd>
<dd>
<code>fn &lt;Function&gt;</code>
The subscribed function to unsubscribe, if not
supplied, all subscribers will be removed.
</dd>
<dd>
<code>context &lt;Object&gt;</code>
The custom object passed to subscribe. This is
optional, but if supplied will be used to
disambiguate multiple listeners that are the same
(e.g., you subscribe many object using a function
that lives on the prototype)
</dd>
</dl>
<dl>
<dt>Returns:
<code>
boolean
</code></dt>
<dd>true if the subscriber was found and detached.</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_unsubscribeAll">unsubscribeAll</a></h4>
<div class="detail">
<code>
void
<strong>unsubscribeAll</strong>
(
type
)
</code>
<div class="description">
Removes all listeners from the specified event. If the event type
is not specified, all listeners from all hosted custom events will
be removed.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>type &lt;string&gt;</code>
The type, or name of the event
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
</div>
</div>
</div>
</div>
<div class="yui-b">
<div class="nav">
<div class="module">
<h4>Modules</h4>
<ul class="content">
<li class=""><a href="module_anim.html">anim</a></li>
<li class=""><a href="module_attribute.html">attribute</a></li>
<li class=""><a href="module_base.html">base</a></li>
<li class=""><a href="module_dd.html">dd</a></li>
<li class=""><a href="module_dd-plugin.html">dd-plugin</a></li>
<li class=""><a href="module_dump.html">dump</a></li>
<li class="selected"><a href="module_event.html">event</a></li>
<li class=""><a href="module_io.html">io</a></li>
<li class=""><a href="module_node.html">node</a></li>
<li class=""><a href="module_oop.html">oop</a></li>
<li class=""><a href="module_queue.html">queue</a></li>
<li class=""><a href="module_substitute.html">substitute</a></li>
<li class=""><a href="module_yui.html">yui</a></li>
</ul>
</div>
<div class="module">
<h4>Classes</h4>
<ul class="content">
<li class=""><a href="Do.html">Do</a></li>
<li class=""><a href="Do.AlterArgs.html">Do.AlterArgs</a></li>
<li class=""><a href="Do.AlterReturn.html">Do.AlterReturn</a></li>
<li class=""><a href="Do.Error.html">Do.Error</a></li>
<li class=""><a href="Do.Method.html">Do.Method</a></li>
<li class=""><a href="Event.html">Event</a></li>
<li class=""><a href="Event.Custom.html">Event.Custom</a></li>
<li class=""><a href="Event.Facade.html">Event.Facade</a></li>
<li class=""><a href="Event.Handle.html">Event.Handle</a></li>
<li class=""><a href="Event.Subscriber.html">Event.Subscriber</a></li>
<li class="selected"><a href="Event.Target.html">Event.Target</a></li>
</ul>
</div>
<div class="module">
<h4>Files</h4>
<ul class="content">
<li class=""><a href="event-custom.js.html">event-custom.js</a></li>
<li class=""><a href="event-do.js.html">event-do.js</a></li>
<li class=""><a href="event-dom.js.html">event-dom.js</a></li>
<li class=""><a href="event-facade.js.html">event-facade.js</a></li>
<li class=""><a href="event-ready.js.html">event-ready.js</a></li>
<li class=""><a href="event-target.js.html">event-target.js</a></li>
<li class=""><a href="event.js.html">event.js</a></li>
</ul>
</div>
<div class="module">
<h4>Methods</h4>
<ul class="content">
<li class=""><!--<code>void</code>-->
<a href="#method_addTarget">addTarget</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_after">after</a>
</li>
<li class=""><!--<code>boolean</code>-->
<a href="#method_bubble">bubble</a>
</li>
<li class=""><!--<code>boolean</code>-->
<a href="#method_fire">fire</a>
</li>
<li class=""><!--<code>Event.Target</code>-->
<a href="#method_getEvent">getEvent</a>
</li>
<li class=""><!--<code>Event.Custom</code>-->
<a href="#method_publish">publish</a>
</li>
<li class=""><!--<code>YUI</code>-->
<a href="#method_ready">ready</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_removeTarget">removeTarget</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_subscribe">subscribe</a>
</li>
<li class=""><!--<code>boolean</code>-->
<a href="#method_unsubscribe">unsubscribe</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_unsubscribeAll">unsubscribeAll</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="ft">
<hr />
Copyright &copy; 2008 Yahoo! Inc. All rights reserved.
</div>
</div>
</body>
</html>