|
0
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
|
2 |
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
|
|
|
3 |
<head>
|
|
|
4 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
|
5 |
<title>API: yui YUI (YUI Library)</title>
|
|
|
6 |
|
|
|
7 |
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
|
|
|
8 |
<link rel="stylesheet" type="text/css" href="assets/api.css" />
|
|
|
9 |
|
|
|
10 |
<script type="text/javascript" src="assets/api-js"></script>
|
|
|
11 |
<script type="text/javascript" src="assets/ac-js"></script>
|
|
|
12 |
</head>
|
|
|
13 |
|
|
|
14 |
<body id="yahoo-com">
|
|
|
15 |
|
|
|
16 |
<div id="doc3" class="yui-t2">
|
|
|
17 |
<div id="hd">
|
|
|
18 |
<h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
|
|
|
19 |
<h3>yui <span class="subtitle">3.0.0b1</span></h3>
|
|
|
20 |
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a>
|
|
|
21 |
> <a href="./module_yui.html" title="yui">yui</a>
|
|
|
22 |
> YUI
|
|
|
23 |
|
|
|
24 |
<form onsubmit="return false">
|
|
|
25 |
<div id="propertysearch">
|
|
|
26 |
Search: <input autocomplete="off" id="searchinput" />
|
|
|
27 |
<div id="searchresults">
|
|
|
28 |
|
|
|
29 |
</div>
|
|
|
30 |
</div>
|
|
|
31 |
</form>
|
|
|
32 |
</div>
|
|
|
33 |
|
|
|
34 |
<div id="bd">
|
|
|
35 |
<div id="yui-main">
|
|
|
36 |
<div class="yui-b">
|
|
|
37 |
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
|
|
|
38 |
<fieldset>
|
|
|
39 |
<legend>Filters</legend>
|
|
|
40 |
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
|
|
|
41 |
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
|
|
|
42 |
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
|
|
|
43 |
</fieldset>
|
|
|
44 |
</form>
|
|
|
45 |
|
|
|
46 |
<h2>
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
Class <b property="yui:name">YUI</b>
|
|
|
52 |
<span class="extends">
|
|
|
53 |
</span>
|
|
|
54 |
|
|
|
55 |
<span class="extends" rel="yui:extends">
|
|
|
56 |
- uses
|
|
|
57 |
|
|
|
58 |
<span rel="extend" resource="EventTarget.html">
|
|
|
59 |
<a href="EventTarget.html" property="yui:name" title="EventTarget">EventTarget</a>
|
|
|
60 |
</span>
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
</span>
|
|
|
64 |
</h2>
|
|
|
65 |
<!-- class tree goes here -->
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
<div class="summary description" property="yui:description">
|
|
|
71 |
The YUI global namespace object. If YUI is already defined, the
|
|
|
72 |
existing YUI object will not be overwritten so that defined
|
|
|
73 |
namespaces are preserved.
|
|
|
74 |
</div>
|
|
|
75 |
|
|
|
76 |
<div class="section constructor details" rel="yui:constructor" resource="#constructor">
|
|
|
77 |
<h3 id="constructor">Constructor</h3>
|
|
|
78 |
<div class="content">
|
|
|
79 |
<div class="detail">
|
|
|
80 |
<strong property="yui:name">YUI</strong>
|
|
|
81 |
<code>
|
|
|
82 |
(
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
o
|
|
|
87 |
)
|
|
|
88 |
</code>
|
|
|
89 |
<div class="description">
|
|
|
90 |
<dl rel="yui:parameters">
|
|
|
91 |
<dt>Parameters:</dt>
|
|
|
92 |
<dd rel="yui:parameter">
|
|
|
93 |
<code><span property="yui:name">o</span>
|
|
|
94 |
<<span property="yui:type">object</span>>
|
|
|
95 |
</code>
|
|
|
96 |
<span property="yui:description"> Optional configuration object. This object is stored
|
|
|
97 |
in YUI.config. See config for the list of supported properties.</span>
|
|
|
98 |
</dd>
|
|
|
99 |
</dl>
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
</div>
|
|
|
103 |
</div>
|
|
|
104 |
</div>
|
|
|
105 |
</div>
|
|
|
106 |
|
|
|
107 |
<div rel="yui:properties" resource="#properties">
|
|
|
108 |
<div class="section field details">
|
|
|
109 |
<h3 id="properties">Properties</h3>
|
|
|
110 |
<div class="content">
|
|
|
111 |
<div class="" rel="yui:property" resource="#property_Global">
|
|
|
112 |
<h4><a name="property_Global" property="yui:name">Global</a>
|
|
|
113 |
- <code><span property="yui:type">EventTarget</span></code>
|
|
|
114 |
</h4>
|
|
|
115 |
<div class="detail">
|
|
|
116 |
<div class="description" property="yui:description">
|
|
|
117 |
Hosts YUI page level events. This is where events bubble to
|
|
|
118 |
when the broadcast config is set to 2. This property is
|
|
|
119 |
only available if the custom event module is loaded.
|
|
|
120 |
</div>
|
|
|
121 |
</div>
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
<hr />
|
|
|
127 |
</div>
|
|
|
128 |
</div>
|
|
|
129 |
</div>
|
|
|
130 |
|
|
|
131 |
</div>
|
|
|
132 |
|
|
|
133 |
<div rel="yui:methods" resource="#methods">
|
|
|
134 |
<div class="section method details">
|
|
|
135 |
<h3 id="methods">Methods</h3>
|
|
|
136 |
<div class="content">
|
|
|
137 |
<div class="private" rel="yui:method" resource="#method__init">
|
|
|
138 |
<h4>
|
|
|
139 |
<a name="method__init">_init</a></h4>
|
|
|
140 |
<div class="detail" >
|
|
|
141 |
<code>
|
|
|
142 |
private
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
void
|
|
|
146 |
<strong property="yui:name">_init</strong>
|
|
|
147 |
(
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
o
|
|
|
151 |
|
|
|
152 |
|
|
|
153 |
)
|
|
|
154 |
</code>
|
|
|
155 |
|
|
|
156 |
<div class="description" property="yui:description">
|
|
|
157 |
Initialize this YUI instance
|
|
|
158 |
</div>
|
|
|
159 |
|
|
|
160 |
<div class="description">
|
|
|
161 |
|
|
|
162 |
<dl rel="yui:parameters">
|
|
|
163 |
<dt>Parameters:</dt>
|
|
|
164 |
<dd rel="yui:parameter">
|
|
|
165 |
<code><span property="yui:name">o</span>
|
|
|
166 |
<<span property="yui:type">object</span>>
|
|
|
167 |
</code>
|
|
|
168 |
<span property="yui:description"> config options</span>
|
|
|
169 |
</dd>
|
|
|
170 |
</dl>
|
|
|
171 |
|
|
|
172 |
<dl>
|
|
|
173 |
<dt>Returns:
|
|
|
174 |
<code property="yui:return">
|
|
|
175 |
void
|
|
|
176 |
</code></dt>
|
|
|
177 |
<dd property="yui:returnInfo"></dd>
|
|
|
178 |
</dl>
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
</div>
|
|
|
184 |
|
|
|
185 |
</div>
|
|
|
186 |
<hr />
|
|
|
187 |
</div>
|
|
|
188 |
<div class="private" rel="yui:method" resource="#method__setup">
|
|
|
189 |
<h4>
|
|
|
190 |
<a name="method__setup">_setup</a></h4>
|
|
|
191 |
<div class="detail" >
|
|
|
192 |
<code>
|
|
|
193 |
private
|
|
|
194 |
|
|
|
195 |
|
|
|
196 |
void
|
|
|
197 |
<strong property="yui:name">_setup</strong>
|
|
|
198 |
(
|
|
|
199 |
)
|
|
|
200 |
</code>
|
|
|
201 |
|
|
|
202 |
<div class="description" property="yui:description">
|
|
|
203 |
Finishes the instance setup. Attaches whatever modules were defined
|
|
|
204 |
when the yui modules was registered.
|
|
|
205 |
</div>
|
|
|
206 |
|
|
|
207 |
<div class="description">
|
|
|
208 |
|
|
|
209 |
|
|
|
210 |
<dl>
|
|
|
211 |
<dt>Returns:
|
|
|
212 |
<code property="yui:return">
|
|
|
213 |
void
|
|
|
214 |
</code></dt>
|
|
|
215 |
<dd property="yui:returnInfo"></dd>
|
|
|
216 |
</dl>
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
</div>
|
|
|
222 |
|
|
|
223 |
</div>
|
|
|
224 |
<hr />
|
|
|
225 |
</div>
|
|
|
226 |
<div class="" rel="yui:method" resource="#method_add">
|
|
|
227 |
<h4>
|
|
|
228 |
<a name="method_add">add</a></h4>
|
|
|
229 |
<div class="detail" >
|
|
|
230 |
<code>
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
|
|
|
234 |
YUI
|
|
|
235 |
<strong property="yui:name">add</strong>
|
|
|
236 |
(
|
|
|
237 |
|
|
|
238 |
|
|
|
239 |
name
|
|
|
240 |
|
|
|
241 |
|
|
|
242 |
,
|
|
|
243 |
fn
|
|
|
244 |
|
|
|
245 |
|
|
|
246 |
,
|
|
|
247 |
version
|
|
|
248 |
|
|
|
249 |
|
|
|
250 |
,
|
|
|
251 |
details
|
|
|
252 |
|
|
|
253 |
|
|
|
254 |
)
|
|
|
255 |
</code>
|
|
|
256 |
|
|
|
257 |
<div class="description" property="yui:description">
|
|
|
258 |
Register a module
|
|
|
259 |
</div>
|
|
|
260 |
|
|
|
261 |
<div class="description">
|
|
|
262 |
|
|
|
263 |
<dl rel="yui:parameters">
|
|
|
264 |
<dt>Parameters:</dt>
|
|
|
265 |
<dd rel="yui:parameter">
|
|
|
266 |
<code><span property="yui:name">name</span>
|
|
|
267 |
<<span property="yui:type">string</span>>
|
|
|
268 |
</code>
|
|
|
269 |
<span property="yui:description"> module name</span>
|
|
|
270 |
</dd>
|
|
|
271 |
<dd rel="yui:parameter">
|
|
|
272 |
<code><span property="yui:name">fn</span>
|
|
|
273 |
<<span property="yui:type">Function</span>>
|
|
|
274 |
</code>
|
|
|
275 |
<span property="yui:description"> entry point into the module that
|
|
|
276 |
is used to bind module to the YUI instance</span>
|
|
|
277 |
</dd>
|
|
|
278 |
<dd rel="yui:parameter">
|
|
|
279 |
<code><span property="yui:name">version</span>
|
|
|
280 |
<<span property="yui:type">string</span>>
|
|
|
281 |
</code>
|
|
|
282 |
<span property="yui:description"> version string</span>
|
|
|
283 |
</dd>
|
|
|
284 |
<dd rel="yui:parameter">
|
|
|
285 |
<code><span property="yui:name">details</span>
|
|
|
286 |
<<span property="yui:type">object</span>>
|
|
|
287 |
</code>
|
|
|
288 |
<span property="yui:description"> optional config data:
|
|
|
289 |
requires - features that should be present before loading
|
|
|
290 |
optional - optional features that should be present if load optional defined
|
|
|
291 |
use - features that should be attached automatically
|
|
|
292 |
skinnable -
|
|
|
293 |
rollup
|
|
|
294 |
omit - features that should not be loaded if this module is present</span>
|
|
|
295 |
</dd>
|
|
|
296 |
</dl>
|
|
|
297 |
|
|
|
298 |
<dl>
|
|
|
299 |
<dt>Returns:
|
|
|
300 |
<code property="yui:return">
|
|
|
301 |
YUI
|
|
|
302 |
</code></dt>
|
|
|
303 |
<dd property="yui:returnInfo">the YUI instance</dd>
|
|
|
304 |
</dl>
|
|
|
305 |
|
|
|
306 |
|
|
|
307 |
|
|
|
308 |
|
|
|
309 |
</div>
|
|
|
310 |
|
|
|
311 |
</div>
|
|
|
312 |
<hr />
|
|
|
313 |
</div>
|
|
|
314 |
<div class="" rel="yui:method" resource="#method_applyTo">
|
|
|
315 |
<h4>
|
|
|
316 |
<a name="method_applyTo">applyTo</a></h4>
|
|
|
317 |
<div class="detail" >
|
|
|
318 |
<code>
|
|
|
319 |
|
|
|
320 |
|
|
|
321 |
|
|
|
322 |
object
|
|
|
323 |
<strong property="yui:name">applyTo</strong>
|
|
|
324 |
(
|
|
|
325 |
|
|
|
326 |
|
|
|
327 |
id
|
|
|
328 |
|
|
|
329 |
|
|
|
330 |
,
|
|
|
331 |
method
|
|
|
332 |
|
|
|
333 |
|
|
|
334 |
,
|
|
|
335 |
args
|
|
|
336 |
|
|
|
337 |
|
|
|
338 |
)
|
|
|
339 |
</code>
|
|
|
340 |
|
|
|
341 |
<div class="description" property="yui:description">
|
|
|
342 |
Executes a method on a YUI instance with
|
|
|
343 |
the specified id if the specified method is whitelisted.
|
|
|
344 |
</div>
|
|
|
345 |
|
|
|
346 |
<div class="description">
|
|
|
347 |
|
|
|
348 |
<dl rel="yui:parameters">
|
|
|
349 |
<dt>Parameters:</dt>
|
|
|
350 |
<dd rel="yui:parameter">
|
|
|
351 |
<code><span property="yui:name">id</span>
|
|
|
352 |
<<span property="yui:type">string</span>>
|
|
|
353 |
</code>
|
|
|
354 |
<span property="yui:description"> the YUI instance id</span>
|
|
|
355 |
</dd>
|
|
|
356 |
<dd rel="yui:parameter">
|
|
|
357 |
<code><span property="yui:name">method</span>
|
|
|
358 |
<<span property="yui:type">string</span>>
|
|
|
359 |
</code>
|
|
|
360 |
<span property="yui:description"> the name of the method to exectute.
|
|
|
361 |
Ex: 'Object.keys'</span>
|
|
|
362 |
</dd>
|
|
|
363 |
<dd rel="yui:parameter">
|
|
|
364 |
<code><span property="yui:name">args</span>
|
|
|
365 |
<<span property="yui:type">Array</span>>
|
|
|
366 |
</code>
|
|
|
367 |
<span property="yui:description"> the arguments to apply to the method</span>
|
|
|
368 |
</dd>
|
|
|
369 |
</dl>
|
|
|
370 |
|
|
|
371 |
<dl>
|
|
|
372 |
<dt>Returns:
|
|
|
373 |
<code property="yui:return">
|
|
|
374 |
object
|
|
|
375 |
</code></dt>
|
|
|
376 |
<dd property="yui:returnInfo">the return value from the applied method or null</dd>
|
|
|
377 |
</dl>
|
|
|
378 |
|
|
|
379 |
|
|
|
380 |
|
|
|
381 |
|
|
|
382 |
</div>
|
|
|
383 |
|
|
|
384 |
</div>
|
|
|
385 |
<hr />
|
|
|
386 |
</div>
|
|
|
387 |
<div class="" rel="yui:method" resource="#method_cached">
|
|
|
388 |
<h4>
|
|
|
389 |
<a name="method_cached">cached</a></h4>
|
|
|
390 |
<div class="detail" >
|
|
|
391 |
<code>
|
|
|
392 |
|
|
|
393 |
|
|
|
394 |
|
|
|
395 |
Function
|
|
|
396 |
<strong property="yui:name">cached</strong>
|
|
|
397 |
(
|
|
|
398 |
|
|
|
399 |
|
|
|
400 |
source
|
|
|
401 |
|
|
|
402 |
|
|
|
403 |
,
|
|
|
404 |
cache
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
)
|
|
|
408 |
</code>
|
|
|
409 |
|
|
|
410 |
<div class="description" property="yui:description">
|
|
|
411 |
Returns a wrapper for a function which caches the
|
|
|
412 |
return value of that function, keyed off of the combined
|
|
|
413 |
argument values.
|
|
|
414 |
</div>
|
|
|
415 |
|
|
|
416 |
<div class="description">
|
|
|
417 |
|
|
|
418 |
<dl rel="yui:parameters">
|
|
|
419 |
<dt>Parameters:</dt>
|
|
|
420 |
<dd rel="yui:parameter">
|
|
|
421 |
<code><span property="yui:name">source</span>
|
|
|
422 |
<<span property="yui:type">function</span>>
|
|
|
423 |
</code>
|
|
|
424 |
<span property="yui:description"> the function to memoize</span>
|
|
|
425 |
</dd>
|
|
|
426 |
<dd rel="yui:parameter">
|
|
|
427 |
<code><span property="yui:name">cache</span>
|
|
|
428 |
<<span property="yui:type">object</span>>
|
|
|
429 |
</code>
|
|
|
430 |
<span property="yui:description"> an optional cache seed</span>
|
|
|
431 |
</dd>
|
|
|
432 |
</dl>
|
|
|
433 |
|
|
|
434 |
<dl>
|
|
|
435 |
<dt>Returns:
|
|
|
436 |
<code property="yui:return">
|
|
|
437 |
Function
|
|
|
438 |
</code></dt>
|
|
|
439 |
<dd property="yui:returnInfo">the wrapped function</dd>
|
|
|
440 |
</dl>
|
|
|
441 |
|
|
|
442 |
|
|
|
443 |
|
|
|
444 |
|
|
|
445 |
</div>
|
|
|
446 |
|
|
|
447 |
</div>
|
|
|
448 |
<hr />
|
|
|
449 |
</div>
|
|
|
450 |
<div class="" rel="yui:method" resource="#method_error">
|
|
|
451 |
<h4>
|
|
|
452 |
<a name="method_error">error</a></h4>
|
|
|
453 |
<div class="detail" >
|
|
|
454 |
<code>
|
|
|
455 |
|
|
|
456 |
|
|
|
457 |
|
|
|
458 |
YUI
|
|
|
459 |
<strong property="yui:name">error</strong>
|
|
|
460 |
(
|
|
|
461 |
|
|
|
462 |
|
|
|
463 |
msg
|
|
|
464 |
|
|
|
465 |
|
|
|
466 |
,
|
|
|
467 |
e
|
|
|
468 |
|
|
|
469 |
|
|
|
470 |
)
|
|
|
471 |
</code>
|
|
|
472 |
|
|
|
473 |
<div class="description" property="yui:description">
|
|
|
474 |
Report an error. The reporting mechanism is controled by
|
|
|
475 |
the 'throwFail' configuration attribute. If throwFail is
|
|
|
476 |
not specified, the message is written to the Logger, otherwise
|
|
|
477 |
a JS error is thrown
|
|
|
478 |
</div>
|
|
|
479 |
|
|
|
480 |
<div class="description">
|
|
|
481 |
|
|
|
482 |
<dl rel="yui:parameters">
|
|
|
483 |
<dt>Parameters:</dt>
|
|
|
484 |
<dd rel="yui:parameter">
|
|
|
485 |
<code><span property="yui:name">msg</span>
|
|
|
486 |
<<span property="yui:type">string</span>>
|
|
|
487 |
</code>
|
|
|
488 |
<span property="yui:description"> the error message</span>
|
|
|
489 |
</dd>
|
|
|
490 |
<dd rel="yui:parameter">
|
|
|
491 |
<code><span property="yui:name">e</span>
|
|
|
492 |
<<span property="yui:type">Error</span>>
|
|
|
493 |
</code>
|
|
|
494 |
<span property="yui:description"> Optional JS error that was caught. If supplied
|
|
|
495 |
and throwFail is specified, this error will be re-thrown.</span>
|
|
|
496 |
</dd>
|
|
|
497 |
</dl>
|
|
|
498 |
|
|
|
499 |
<dl>
|
|
|
500 |
<dt>Returns:
|
|
|
501 |
<code property="yui:return">
|
|
|
502 |
YUI
|
|
|
503 |
</code></dt>
|
|
|
504 |
<dd property="yui:returnInfo">this YUI instance</dd>
|
|
|
505 |
</dl>
|
|
|
506 |
|
|
|
507 |
|
|
|
508 |
|
|
|
509 |
|
|
|
510 |
</div>
|
|
|
511 |
|
|
|
512 |
</div>
|
|
|
513 |
<hr />
|
|
|
514 |
</div>
|
|
|
515 |
<div class="" rel="yui:method" resource="#method_guid">
|
|
|
516 |
<h4>
|
|
|
517 |
<a name="method_guid">guid</a></h4>
|
|
|
518 |
<div class="detail" >
|
|
|
519 |
<code>
|
|
|
520 |
|
|
|
521 |
|
|
|
522 |
|
|
|
523 |
string
|
|
|
524 |
<strong property="yui:name">guid</strong>
|
|
|
525 |
(
|
|
|
526 |
|
|
|
527 |
|
|
|
528 |
pre
|
|
|
529 |
|
|
|
530 |
|
|
|
531 |
)
|
|
|
532 |
</code>
|
|
|
533 |
|
|
|
534 |
<div class="description" property="yui:description">
|
|
|
535 |
Generate an id that is unique among all YUI instances
|
|
|
536 |
</div>
|
|
|
537 |
|
|
|
538 |
<div class="description">
|
|
|
539 |
|
|
|
540 |
<dl rel="yui:parameters">
|
|
|
541 |
<dt>Parameters:</dt>
|
|
|
542 |
<dd rel="yui:parameter">
|
|
|
543 |
<code><span property="yui:name">pre</span>
|
|
|
544 |
<<span property="yui:type">string</span>>
|
|
|
545 |
</code>
|
|
|
546 |
<span property="yui:description"> optional guid prefix</span>
|
|
|
547 |
</dd>
|
|
|
548 |
</dl>
|
|
|
549 |
|
|
|
550 |
<dl>
|
|
|
551 |
<dt>Returns:
|
|
|
552 |
<code property="yui:return">
|
|
|
553 |
string
|
|
|
554 |
</code></dt>
|
|
|
555 |
<dd property="yui:returnInfo">the guid</dd>
|
|
|
556 |
</dl>
|
|
|
557 |
|
|
|
558 |
|
|
|
559 |
|
|
|
560 |
|
|
|
561 |
</div>
|
|
|
562 |
|
|
|
563 |
</div>
|
|
|
564 |
<hr />
|
|
|
565 |
</div>
|
|
|
566 |
<div class="" rel="yui:method" resource="#method_later">
|
|
|
567 |
<h4>
|
|
|
568 |
<a name="method_later">later</a></h4>
|
|
|
569 |
<div class="detail" >
|
|
|
570 |
<code>
|
|
|
571 |
|
|
|
572 |
|
|
|
573 |
|
|
|
574 |
object
|
|
|
575 |
<strong property="yui:name">later</strong>
|
|
|
576 |
(
|
|
|
577 |
|
|
|
578 |
|
|
|
579 |
when
|
|
|
580 |
|
|
|
581 |
|
|
|
582 |
,
|
|
|
583 |
o
|
|
|
584 |
|
|
|
585 |
|
|
|
586 |
,
|
|
|
587 |
fn
|
|
|
588 |
|
|
|
589 |
|
|
|
590 |
,
|
|
|
591 |
data
|
|
|
592 |
|
|
|
593 |
|
|
|
594 |
,
|
|
|
595 |
periodic
|
|
|
596 |
|
|
|
597 |
|
|
|
598 |
)
|
|
|
599 |
</code>
|
|
|
600 |
|
|
|
601 |
<div class="description" property="yui:description">
|
|
|
602 |
Executes the supplied function in the context of the supplied
|
|
|
603 |
object 'when' milliseconds later. Executes the function a
|
|
|
604 |
single time unless periodic is set to true.
|
|
|
605 |
</div>
|
|
|
606 |
|
|
|
607 |
<div class="description">
|
|
|
608 |
|
|
|
609 |
<dl rel="yui:parameters">
|
|
|
610 |
<dt>Parameters:</dt>
|
|
|
611 |
<dd rel="yui:parameter">
|
|
|
612 |
<code><span property="yui:name">when</span>
|
|
|
613 |
<<span property="yui:type">int</span>>
|
|
|
614 |
</code>
|
|
|
615 |
<span property="yui:description"> the number of milliseconds to wait until the fn
|
|
|
616 |
is executed.</span>
|
|
|
617 |
</dd>
|
|
|
618 |
<dd rel="yui:parameter">
|
|
|
619 |
<code><span property="yui:name">o</span>
|
|
|
620 |
<<span property="yui:type">object</span>>
|
|
|
621 |
</code>
|
|
|
622 |
<span property="yui:description"> the context object.</span>
|
|
|
623 |
</dd>
|
|
|
624 |
<dd rel="yui:parameter">
|
|
|
625 |
<code><span property="yui:name">fn</span>
|
|
|
626 |
<<span property="yui:type">Function|String</span>>
|
|
|
627 |
</code>
|
|
|
628 |
<span property="yui:description"> the function to execute or the name of
|
|
|
629 |
the method in the 'o' object to execute.</span>
|
|
|
630 |
</dd>
|
|
|
631 |
<dd rel="yui:parameter">
|
|
|
632 |
<code><span property="yui:name">data</span>
|
|
|
633 |
<<span property="yui:type">object</span>>
|
|
|
634 |
</code>
|
|
|
635 |
<span property="yui:description"> [Array] data that is provided to the function. This accepts
|
|
|
636 |
either a single item or an array. If an array is provided, the
|
|
|
637 |
function is executed with one parameter for each array item. If
|
|
|
638 |
you need to pass a single array parameter, it needs to be wrapped in
|
|
|
639 |
an array [myarray].</span>
|
|
|
640 |
</dd>
|
|
|
641 |
<dd rel="yui:parameter">
|
|
|
642 |
<code><span property="yui:name">periodic</span>
|
|
|
643 |
<<span property="yui:type">boolean</span>>
|
|
|
644 |
</code>
|
|
|
645 |
<span property="yui:description"> if true, executes continuously at supplied
|
|
|
646 |
interval until canceled.</span>
|
|
|
647 |
</dd>
|
|
|
648 |
</dl>
|
|
|
649 |
|
|
|
650 |
<dl>
|
|
|
651 |
<dt>Returns:
|
|
|
652 |
<code property="yui:return">
|
|
|
653 |
object
|
|
|
654 |
</code></dt>
|
|
|
655 |
<dd property="yui:returnInfo">a timer object. Call the cancel() method on this object to
|
|
|
656 |
stop the timer.</dd>
|
|
|
657 |
</dl>
|
|
|
658 |
|
|
|
659 |
|
|
|
660 |
|
|
|
661 |
|
|
|
662 |
</div>
|
|
|
663 |
|
|
|
664 |
</div>
|
|
|
665 |
<hr />
|
|
|
666 |
</div>
|
|
|
667 |
<div class="" rel="yui:method" resource="#method_log">
|
|
|
668 |
<h4>
|
|
|
669 |
<a name="method_log">log</a></h4>
|
|
|
670 |
<div class="detail" >
|
|
|
671 |
<code>
|
|
|
672 |
|
|
|
673 |
|
|
|
674 |
|
|
|
675 |
YUI
|
|
|
676 |
<strong property="yui:name">log</strong>
|
|
|
677 |
(
|
|
|
678 |
|
|
|
679 |
|
|
|
680 |
msg
|
|
|
681 |
|
|
|
682 |
|
|
|
683 |
,
|
|
|
684 |
cat
|
|
|
685 |
|
|
|
686 |
|
|
|
687 |
,
|
|
|
688 |
src
|
|
|
689 |
|
|
|
690 |
|
|
|
691 |
,
|
|
|
692 |
silent
|
|
|
693 |
|
|
|
694 |
|
|
|
695 |
)
|
|
|
696 |
</code>
|
|
|
697 |
|
|
|
698 |
<div class="description" property="yui:description">
|
|
|
699 |
If the 'debug' config is true, a 'yui:log' event will be
|
|
|
700 |
dispatched, which the Console widget and anything else
|
|
|
701 |
can consume. If the 'useBrowserConsole' config is true, it will
|
|
|
702 |
write to the browser console if available. YUI-specific log
|
|
|
703 |
messages will only be present in the -debug versions of the
|
|
|
704 |
JS files. The build system is supposed to remove log statements
|
|
|
705 |
from the raw and minified versions of the files.
|
|
|
706 |
</div>
|
|
|
707 |
|
|
|
708 |
<div class="description">
|
|
|
709 |
|
|
|
710 |
<dl rel="yui:parameters">
|
|
|
711 |
<dt>Parameters:</dt>
|
|
|
712 |
<dd rel="yui:parameter">
|
|
|
713 |
<code><span property="yui:name">msg</span>
|
|
|
714 |
<<span property="yui:type">String</span>>
|
|
|
715 |
</code>
|
|
|
716 |
<span property="yui:description"> The message to log.</span>
|
|
|
717 |
</dd>
|
|
|
718 |
<dd rel="yui:parameter">
|
|
|
719 |
<code><span property="yui:name">cat</span>
|
|
|
720 |
<<span property="yui:type">String</span>>
|
|
|
721 |
</code>
|
|
|
722 |
<span property="yui:description"> The log category for the message. Default
|
|
|
723 |
categories are "info", "warn", "error", time".
|
|
|
724 |
Custom categories can be used as well. (opt)</span>
|
|
|
725 |
</dd>
|
|
|
726 |
<dd rel="yui:parameter">
|
|
|
727 |
<code><span property="yui:name">src</span>
|
|
|
728 |
<<span property="yui:type">String</span>>
|
|
|
729 |
</code>
|
|
|
730 |
<span property="yui:description"> The source of the the message (opt)</span>
|
|
|
731 |
</dd>
|
|
|
732 |
<dd rel="yui:parameter">
|
|
|
733 |
<code><span property="yui:name">silent</span>
|
|
|
734 |
<<span property="yui:type">boolean</span>>
|
|
|
735 |
</code>
|
|
|
736 |
<span property="yui:description"> If true, the log event won't fire</span>
|
|
|
737 |
</dd>
|
|
|
738 |
</dl>
|
|
|
739 |
|
|
|
740 |
<dl>
|
|
|
741 |
<dt>Returns:
|
|
|
742 |
<code property="yui:return">
|
|
|
743 |
YUI
|
|
|
744 |
</code></dt>
|
|
|
745 |
<dd property="yui:returnInfo">YUI instance</dd>
|
|
|
746 |
</dl>
|
|
|
747 |
|
|
|
748 |
|
|
|
749 |
|
|
|
750 |
|
|
|
751 |
</div>
|
|
|
752 |
|
|
|
753 |
</div>
|
|
|
754 |
<hr />
|
|
|
755 |
</div>
|
|
|
756 |
<div class="" rel="yui:method" resource="#method_merge">
|
|
|
757 |
<h4>
|
|
|
758 |
<a name="method_merge">merge</a></h4>
|
|
|
759 |
<div class="detail" >
|
|
|
760 |
<code>
|
|
|
761 |
|
|
|
762 |
|
|
|
763 |
|
|
|
764 |
object
|
|
|
765 |
<strong property="yui:name">merge</strong>
|
|
|
766 |
(
|
|
|
767 |
|
|
|
768 |
|
|
|
769 |
arguments
|
|
|
770 |
|
|
|
771 |
|
|
|
772 |
)
|
|
|
773 |
</code>
|
|
|
774 |
|
|
|
775 |
<div class="description" property="yui:description">
|
|
|
776 |
Returns a new object containing all of the properties of
|
|
|
777 |
all the supplied objects. The properties from later objects
|
|
|
778 |
will overwrite those in earlier objects. Passing in a
|
|
|
779 |
single object will create a shallow copy of it. For a deep
|
|
|
780 |
copy, use clone.
|
|
|
781 |
</div>
|
|
|
782 |
|
|
|
783 |
<div class="description">
|
|
|
784 |
|
|
|
785 |
<dl rel="yui:parameters">
|
|
|
786 |
<dt>Parameters:</dt>
|
|
|
787 |
<dd rel="yui:parameter">
|
|
|
788 |
<code><span property="yui:name">arguments</span>
|
|
|
789 |
<<span property="yui:type">Object*</span>>
|
|
|
790 |
</code>
|
|
|
791 |
<span property="yui:description"> the objects to merge</span>
|
|
|
792 |
</dd>
|
|
|
793 |
</dl>
|
|
|
794 |
|
|
|
795 |
<dl>
|
|
|
796 |
<dt>Returns:
|
|
|
797 |
<code property="yui:return">
|
|
|
798 |
object
|
|
|
799 |
</code></dt>
|
|
|
800 |
<dd property="yui:returnInfo">the new merged object</dd>
|
|
|
801 |
</dl>
|
|
|
802 |
|
|
|
803 |
|
|
|
804 |
|
|
|
805 |
|
|
|
806 |
</div>
|
|
|
807 |
|
|
|
808 |
</div>
|
|
|
809 |
<hr />
|
|
|
810 |
</div>
|
|
|
811 |
<div class="" rel="yui:method" resource="#method_message">
|
|
|
812 |
<h4>
|
|
|
813 |
<a name="method_message">message</a></h4>
|
|
|
814 |
<div class="detail" >
|
|
|
815 |
<code>
|
|
|
816 |
|
|
|
817 |
|
|
|
818 |
|
|
|
819 |
YUI
|
|
|
820 |
<strong property="yui:name">message</strong>
|
|
|
821 |
(
|
|
|
822 |
|
|
|
823 |
|
|
|
824 |
msg
|
|
|
825 |
|
|
|
826 |
|
|
|
827 |
,
|
|
|
828 |
cat
|
|
|
829 |
|
|
|
830 |
|
|
|
831 |
,
|
|
|
832 |
src
|
|
|
833 |
|
|
|
834 |
|
|
|
835 |
,
|
|
|
836 |
silent
|
|
|
837 |
|
|
|
838 |
|
|
|
839 |
)
|
|
|
840 |
</code>
|
|
|
841 |
|
|
|
842 |
<div class="description" property="yui:description">
|
|
|
843 |
Write a system message. This message will be preserved in the
|
|
|
844 |
minified and raw versions of the YUI files, unlike log statements.
|
|
|
845 |
</div>
|
|
|
846 |
|
|
|
847 |
<div class="description">
|
|
|
848 |
|
|
|
849 |
<dl rel="yui:parameters">
|
|
|
850 |
<dt>Parameters:</dt>
|
|
|
851 |
<dd rel="yui:parameter">
|
|
|
852 |
<code><span property="yui:name">msg</span>
|
|
|
853 |
<<span property="yui:type">String</span>>
|
|
|
854 |
</code>
|
|
|
855 |
<span property="yui:description"> The message to log.</span>
|
|
|
856 |
</dd>
|
|
|
857 |
<dd rel="yui:parameter">
|
|
|
858 |
<code><span property="yui:name">cat</span>
|
|
|
859 |
<<span property="yui:type">String</span>>
|
|
|
860 |
</code>
|
|
|
861 |
<span property="yui:description"> The log category for the message. Default
|
|
|
862 |
categories are "info", "warn", "error", time".
|
|
|
863 |
Custom categories can be used as well. (opt)</span>
|
|
|
864 |
</dd>
|
|
|
865 |
<dd rel="yui:parameter">
|
|
|
866 |
<code><span property="yui:name">src</span>
|
|
|
867 |
<<span property="yui:type">String</span>>
|
|
|
868 |
</code>
|
|
|
869 |
<span property="yui:description"> The source of the the message (opt)</span>
|
|
|
870 |
</dd>
|
|
|
871 |
<dd rel="yui:parameter">
|
|
|
872 |
<code><span property="yui:name">silent</span>
|
|
|
873 |
<<span property="yui:type">boolean</span>>
|
|
|
874 |
</code>
|
|
|
875 |
<span property="yui:description"> If true, the log event won't fire</span>
|
|
|
876 |
</dd>
|
|
|
877 |
</dl>
|
|
|
878 |
|
|
|
879 |
<dl>
|
|
|
880 |
<dt>Returns:
|
|
|
881 |
<code property="yui:return">
|
|
|
882 |
YUI
|
|
|
883 |
</code></dt>
|
|
|
884 |
<dd property="yui:returnInfo">YUI instance</dd>
|
|
|
885 |
</dl>
|
|
|
886 |
|
|
|
887 |
|
|
|
888 |
|
|
|
889 |
|
|
|
890 |
</div>
|
|
|
891 |
|
|
|
892 |
</div>
|
|
|
893 |
<hr />
|
|
|
894 |
</div>
|
|
|
895 |
<div class="" rel="yui:method" resource="#method_mix">
|
|
|
896 |
<h4>
|
|
|
897 |
<a name="method_mix">mix</a></h4>
|
|
|
898 |
<div class="detail" >
|
|
|
899 |
<code>
|
|
|
900 |
|
|
|
901 |
|
|
|
902 |
|
|
|
903 |
object
|
|
|
904 |
<strong property="yui:name">mix</strong>
|
|
|
905 |
(
|
|
|
906 |
|
|
|
907 |
|
|
|
908 |
r
|
|
|
909 |
|
|
|
910 |
|
|
|
911 |
,
|
|
|
912 |
s
|
|
|
913 |
|
|
|
914 |
|
|
|
915 |
,
|
|
|
916 |
ov
|
|
|
917 |
|
|
|
918 |
|
|
|
919 |
,
|
|
|
920 |
wl
|
|
|
921 |
|
|
|
922 |
|
|
|
923 |
,
|
|
|
924 |
mode
|
|
|
925 |
|
|
|
926 |
|
|
|
927 |
,
|
|
|
928 |
merge
|
|
|
929 |
|
|
|
930 |
|
|
|
931 |
)
|
|
|
932 |
</code>
|
|
|
933 |
|
|
|
934 |
<div class="description" property="yui:description">
|
|
|
935 |
Applies the supplier's properties to the receiver. By default
|
|
|
936 |
all prototype and static propertes on the supplier are applied
|
|
|
937 |
to the corresponding spot on the receiver. By default all
|
|
|
938 |
properties are applied, and a property that is already on the
|
|
|
939 |
reciever will not be overwritten. The default behavior can
|
|
|
940 |
be modified by supplying the appropriate parameters.
|
|
|
941 |
</div>
|
|
|
942 |
|
|
|
943 |
<div class="description">
|
|
|
944 |
|
|
|
945 |
<dl rel="yui:parameters">
|
|
|
946 |
<dt>Parameters:</dt>
|
|
|
947 |
<dd rel="yui:parameter">
|
|
|
948 |
<code><span property="yui:name">r</span>
|
|
|
949 |
<<span property="yui:type">Function</span>>
|
|
|
950 |
</code>
|
|
|
951 |
<span property="yui:description"> the object to receive the augmentation</span>
|
|
|
952 |
</dd>
|
|
|
953 |
<dd rel="yui:parameter">
|
|
|
954 |
<code><span property="yui:name">s</span>
|
|
|
955 |
<<span property="yui:type">Function</span>>
|
|
|
956 |
</code>
|
|
|
957 |
<span property="yui:description"> the object that supplies the properties to augment</span>
|
|
|
958 |
</dd>
|
|
|
959 |
<dd rel="yui:parameter">
|
|
|
960 |
<code><span property="yui:name">ov</span>
|
|
|
961 |
<<span property="yui:type">boolean</span>>
|
|
|
962 |
</code>
|
|
|
963 |
<span property="yui:description"> if true, properties already on the receiver
|
|
|
964 |
will be overwritten if found on the supplier.</span>
|
|
|
965 |
</dd>
|
|
|
966 |
<dd rel="yui:parameter">
|
|
|
967 |
<code><span property="yui:name">wl</span>
|
|
|
968 |
<<span property="yui:type">string[]</span>>
|
|
|
969 |
</code>
|
|
|
970 |
<span property="yui:description"> a whitelist. If supplied, only properties in
|
|
|
971 |
this list will be applied to the receiver.</span>
|
|
|
972 |
</dd>
|
|
|
973 |
<dd rel="yui:parameter">
|
|
|
974 |
<code><span property="yui:name">mode</span>
|
|
|
975 |
<<span property="yui:type">int</span>>
|
|
|
976 |
</code>
|
|
|
977 |
<span property="yui:description"> what should be copies, and to where
|
|
|
978 |
default(0): object to object
|
|
|
979 |
1: prototype to prototype (old augment)
|
|
|
980 |
2: prototype to prototype and object props (new augment)
|
|
|
981 |
3: prototype to object
|
|
|
982 |
4: object to prototype</span>
|
|
|
983 |
</dd>
|
|
|
984 |
<dd rel="yui:parameter">
|
|
|
985 |
<code><span property="yui:name">merge</span>
|
|
|
986 |
<<span property="yui:type">boolean</span>>
|
|
|
987 |
</code>
|
|
|
988 |
<span property="yui:description"> merge objects instead of overwriting/ignoring
|
|
|
989 |
Used by Y.aggregate</span>
|
|
|
990 |
</dd>
|
|
|
991 |
</dl>
|
|
|
992 |
|
|
|
993 |
<dl>
|
|
|
994 |
<dt>Returns:
|
|
|
995 |
<code property="yui:return">
|
|
|
996 |
object
|
|
|
997 |
</code></dt>
|
|
|
998 |
<dd property="yui:returnInfo">the augmented object</dd>
|
|
|
999 |
</dl>
|
|
|
1000 |
|
|
|
1001 |
|
|
|
1002 |
|
|
|
1003 |
|
|
|
1004 |
</div>
|
|
|
1005 |
|
|
|
1006 |
</div>
|
|
|
1007 |
<hr />
|
|
|
1008 |
</div>
|
|
|
1009 |
<div class="" rel="yui:method" resource="#method_namespace">
|
|
|
1010 |
<h4>
|
|
|
1011 |
<a name="method_namespace">namespace</a></h4>
|
|
|
1012 |
<div class="detail" >
|
|
|
1013 |
<code>
|
|
|
1014 |
|
|
|
1015 |
|
|
|
1016 |
|
|
|
1017 |
object
|
|
|
1018 |
<strong property="yui:name">namespace</strong>
|
|
|
1019 |
(
|
|
|
1020 |
|
|
|
1021 |
|
|
|
1022 |
arguments
|
|
|
1023 |
|
|
|
1024 |
|
|
|
1025 |
)
|
|
|
1026 |
</code>
|
|
|
1027 |
|
|
|
1028 |
<div class="description" property="yui:description">
|
|
|
1029 |
Returns the namespace specified and creates it if it doesn't exist
|
|
|
1030 |
<pre>
|
|
|
1031 |
YUI.namespace("property.package");
|
|
|
1032 |
YUI.namespace("YAHOO.property.package");
|
|
|
1033 |
</pre>
|
|
|
1034 |
Either of the above would create YUI.property, then
|
|
|
1035 |
YUI.property.package (YAHOO is scrubbed out, this is
|
|
|
1036 |
to remain compatible with YUI2)
|
|
|
1037 |
Be careful when naming packages. Reserved words may work in some browsers
|
|
|
1038 |
and not others. For instance, the following will fail in Safari:
|
|
|
1039 |
<pre>
|
|
|
1040 |
YUI.namespace("really.long.nested.namespace");
|
|
|
1041 |
</pre>
|
|
|
1042 |
This fails because "long" is a future reserved word in ECMAScript
|
|
|
1043 |
</div>
|
|
|
1044 |
|
|
|
1045 |
<div class="description">
|
|
|
1046 |
|
|
|
1047 |
<dl rel="yui:parameters">
|
|
|
1048 |
<dt>Parameters:</dt>
|
|
|
1049 |
<dd rel="yui:parameter">
|
|
|
1050 |
<code><span property="yui:name">arguments</span>
|
|
|
1051 |
<<span property="yui:type">string*</span>>
|
|
|
1052 |
</code>
|
|
|
1053 |
<span property="yui:description"> 1-n namespaces to create</span>
|
|
|
1054 |
</dd>
|
|
|
1055 |
</dl>
|
|
|
1056 |
|
|
|
1057 |
<dl>
|
|
|
1058 |
<dt>Returns:
|
|
|
1059 |
<code property="yui:return">
|
|
|
1060 |
object
|
|
|
1061 |
</code></dt>
|
|
|
1062 |
<dd property="yui:returnInfo">A reference to the last namespace object created</dd>
|
|
|
1063 |
</dl>
|
|
|
1064 |
|
|
|
1065 |
|
|
|
1066 |
|
|
|
1067 |
|
|
|
1068 |
</div>
|
|
|
1069 |
|
|
|
1070 |
</div>
|
|
|
1071 |
<hr />
|
|
|
1072 |
</div>
|
|
|
1073 |
<div class="" rel="yui:method" resource="#method_simulate">
|
|
|
1074 |
<h4>
|
|
|
1075 |
<a name="method_simulate">simulate</a></h4>
|
|
|
1076 |
<div class="detail" >
|
|
|
1077 |
<code>
|
|
|
1078 |
|
|
|
1079 |
static
|
|
|
1080 |
|
|
|
1081 |
void
|
|
|
1082 |
<strong property="yui:name">simulate</strong>
|
|
|
1083 |
(
|
|
|
1084 |
|
|
|
1085 |
|
|
|
1086 |
target
|
|
|
1087 |
|
|
|
1088 |
|
|
|
1089 |
,
|
|
|
1090 |
type
|
|
|
1091 |
|
|
|
1092 |
|
|
|
1093 |
,
|
|
|
1094 |
options
|
|
|
1095 |
|
|
|
1096 |
|
|
|
1097 |
)
|
|
|
1098 |
</code>
|
|
|
1099 |
|
|
|
1100 |
<div class="description" property="yui:description">
|
|
|
1101 |
Simulates the event with the given name on a target.
|
|
|
1102 |
</div>
|
|
|
1103 |
|
|
|
1104 |
<div class="description">
|
|
|
1105 |
|
|
|
1106 |
<dl rel="yui:parameters">
|
|
|
1107 |
<dt>Parameters:</dt>
|
|
|
1108 |
<dd rel="yui:parameter">
|
|
|
1109 |
<code><span property="yui:name">target</span>
|
|
|
1110 |
<<span property="yui:type">HTMLElement</span>>
|
|
|
1111 |
</code>
|
|
|
1112 |
<span property="yui:description"> The DOM element that's the target of the event.</span>
|
|
|
1113 |
</dd>
|
|
|
1114 |
<dd rel="yui:parameter">
|
|
|
1115 |
<code><span property="yui:name">type</span>
|
|
|
1116 |
<<span property="yui:type">String</span>>
|
|
|
1117 |
</code>
|
|
|
1118 |
<span property="yui:description"> The type of event to simulate (i.e., "click").</span>
|
|
|
1119 |
</dd>
|
|
|
1120 |
<dd rel="yui:parameter">
|
|
|
1121 |
<code><span property="yui:name">options</span>
|
|
|
1122 |
<<span property="yui:type">Object</span>>
|
|
|
1123 |
</code>
|
|
|
1124 |
<span property="yui:description"> (Optional) Extra options to copy onto the event object.</span>
|
|
|
1125 |
</dd>
|
|
|
1126 |
</dl>
|
|
|
1127 |
|
|
|
1128 |
<dl>
|
|
|
1129 |
<dt>Returns:
|
|
|
1130 |
<code property="yui:return">
|
|
|
1131 |
void
|
|
|
1132 |
</code></dt>
|
|
|
1133 |
<dd property="yui:returnInfo"></dd>
|
|
|
1134 |
</dl>
|
|
|
1135 |
|
|
|
1136 |
|
|
|
1137 |
|
|
|
1138 |
|
|
|
1139 |
</div>
|
|
|
1140 |
|
|
|
1141 |
</div>
|
|
|
1142 |
<hr />
|
|
|
1143 |
</div>
|
|
|
1144 |
<div class="" rel="yui:method" resource="#method_stamp">
|
|
|
1145 |
<h4>
|
|
|
1146 |
<a name="method_stamp">stamp</a></h4>
|
|
|
1147 |
<div class="detail" >
|
|
|
1148 |
<code>
|
|
|
1149 |
|
|
|
1150 |
|
|
|
1151 |
|
|
|
1152 |
string
|
|
|
1153 |
<strong property="yui:name">stamp</strong>
|
|
|
1154 |
(
|
|
|
1155 |
|
|
|
1156 |
|
|
|
1157 |
o
|
|
|
1158 |
|
|
|
1159 |
|
|
|
1160 |
,
|
|
|
1161 |
readOnly
|
|
|
1162 |
|
|
|
1163 |
|
|
|
1164 |
)
|
|
|
1165 |
</code>
|
|
|
1166 |
|
|
|
1167 |
<div class="description" property="yui:description">
|
|
|
1168 |
Returns a guid associated with an object. If the object
|
|
|
1169 |
does not have one, a new one is created unless readOnly
|
|
|
1170 |
is specified.
|
|
|
1171 |
</div>
|
|
|
1172 |
|
|
|
1173 |
<div class="description">
|
|
|
1174 |
|
|
|
1175 |
<dl rel="yui:parameters">
|
|
|
1176 |
<dt>Parameters:</dt>
|
|
|
1177 |
<dd rel="yui:parameter">
|
|
|
1178 |
<code><span property="yui:name">o</span>
|
|
|
1179 |
<<span property="yui:type">object</span>>
|
|
|
1180 |
</code>
|
|
|
1181 |
<span property="yui:description"> The object to stamp</span>
|
|
|
1182 |
</dd>
|
|
|
1183 |
<dd rel="yui:parameter">
|
|
|
1184 |
<code><span property="yui:name">readOnly</span>
|
|
|
1185 |
<<span property="yui:type">boolean</span>>
|
|
|
1186 |
</code>
|
|
|
1187 |
<span property="yui:description"> if true, a valid guid will only
|
|
|
1188 |
be returned if the object has one assigned to it.</span>
|
|
|
1189 |
</dd>
|
|
|
1190 |
</dl>
|
|
|
1191 |
|
|
|
1192 |
<dl>
|
|
|
1193 |
<dt>Returns:
|
|
|
1194 |
<code property="yui:return">
|
|
|
1195 |
string
|
|
|
1196 |
</code></dt>
|
|
|
1197 |
<dd property="yui:returnInfo">The object's guid or null</dd>
|
|
|
1198 |
</dl>
|
|
|
1199 |
|
|
|
1200 |
|
|
|
1201 |
|
|
|
1202 |
|
|
|
1203 |
</div>
|
|
|
1204 |
|
|
|
1205 |
</div>
|
|
|
1206 |
<hr />
|
|
|
1207 |
</div>
|
|
|
1208 |
<div class="" rel="yui:method" resource="#method_use">
|
|
|
1209 |
<h4>
|
|
|
1210 |
<a name="method_use">use</a></h4>
|
|
|
1211 |
<div class="detail" >
|
|
|
1212 |
<code>
|
|
|
1213 |
|
|
|
1214 |
|
|
|
1215 |
|
|
|
1216 |
YUI
|
|
|
1217 |
<strong property="yui:name">use</strong>
|
|
|
1218 |
(
|
|
|
1219 |
|
|
|
1220 |
|
|
|
1221 |
modules*
|
|
|
1222 |
|
|
|
1223 |
|
|
|
1224 |
,
|
|
|
1225 |
*callback
|
|
|
1226 |
|
|
|
1227 |
|
|
|
1228 |
)
|
|
|
1229 |
</code>
|
|
|
1230 |
|
|
|
1231 |
<div class="description" property="yui:description">
|
|
|
1232 |
Bind a module to a YUI instance
|
|
|
1233 |
</div>
|
|
|
1234 |
|
|
|
1235 |
<div class="description">
|
|
|
1236 |
|
|
|
1237 |
<dl rel="yui:parameters">
|
|
|
1238 |
<dt>Parameters:</dt>
|
|
|
1239 |
<dd rel="yui:parameter">
|
|
|
1240 |
<code><span property="yui:name">modules*</span>
|
|
|
1241 |
<<span property="yui:type">string</span>>
|
|
|
1242 |
</code>
|
|
|
1243 |
<span property="yui:description"> 1-n modules to bind (uses arguments array)</span>
|
|
|
1244 |
</dd>
|
|
|
1245 |
<dd rel="yui:parameter">
|
|
|
1246 |
<code><span property="yui:name">*callback</span>
|
|
|
1247 |
<<span property="yui:type">function</span>>
|
|
|
1248 |
</code>
|
|
|
1249 |
<span property="yui:description"> callback function executed when
|
|
|
1250 |
the instance has the required functionality. If included, it
|
|
|
1251 |
must be the last parameter.</span>
|
|
|
1252 |
</dd>
|
|
|
1253 |
</dl>
|
|
|
1254 |
|
|
|
1255 |
<dl>
|
|
|
1256 |
<dt>Returns:
|
|
|
1257 |
<code property="yui:return">
|
|
|
1258 |
YUI
|
|
|
1259 |
</code></dt>
|
|
|
1260 |
<dd property="yui:returnInfo">the YUI instance</dd>
|
|
|
1261 |
</dl>
|
|
|
1262 |
|
|
|
1263 |
|
|
|
1264 |
|
|
|
1265 |
|
|
|
1266 |
</div>
|
|
|
1267 |
|
|
|
1268 |
</div>
|
|
|
1269 |
<hr />
|
|
|
1270 |
</div>
|
|
|
1271 |
</div>
|
|
|
1272 |
</div>
|
|
|
1273 |
|
|
|
1274 |
<div rel="yui:inheritance">
|
|
|
1275 |
<div class="section field inheritance" rel="yui:superclass" resource="EventTarget.html">
|
|
|
1276 |
<h4>Methods inherited from <a href="EventTarget.html" property="yui:name" title="EventTarget">EventTarget</a>:</h4>
|
|
|
1277 |
<div class="content" rel="yui:methods">
|
|
|
1278 |
<code>
|
|
|
1279 |
<span rel="yui:method" resource="EventTarget.html#method__getType">
|
|
|
1280 |
<a class="private" href="EventTarget.html#method__getType" property="yui:name" title="_getType">_getType</a><span class="private">,</span>
|
|
|
1281 |
</span>
|
|
|
1282 |
<span rel="yui:method" resource="EventTarget.html#method__parseType">
|
|
|
1283 |
<a class="private" href="EventTarget.html#method__parseType" property="yui:name" title="_parseType">_parseType</a><span class="private">,</span>
|
|
|
1284 |
</span>
|
|
|
1285 |
<span rel="yui:method" resource="EventTarget.html#method_addTarget">
|
|
|
1286 |
<a class="" href="EventTarget.html#method_addTarget" property="yui:name" title="addTarget">addTarget</a><span class="">,</span>
|
|
|
1287 |
</span>
|
|
|
1288 |
<span rel="yui:method" resource="EventTarget.html#method_after">
|
|
|
1289 |
<a class="" href="EventTarget.html#method_after" property="yui:name" title="after">after</a><span class="">,</span>
|
|
|
1290 |
</span>
|
|
|
1291 |
<span rel="yui:method" resource="EventTarget.html#method_before">
|
|
|
1292 |
<a class=" deprecated" href="EventTarget.html#method_before" property="yui:name" title="before">before</a><span class=" deprecated">,</span>
|
|
|
1293 |
</span>
|
|
|
1294 |
<span rel="yui:method" resource="EventTarget.html#method_bubble">
|
|
|
1295 |
<a class="" href="EventTarget.html#method_bubble" property="yui:name" title="bubble">bubble</a><span class="">,</span>
|
|
|
1296 |
</span>
|
|
|
1297 |
<span rel="yui:method" resource="EventTarget.html#method_detach">
|
|
|
1298 |
<a class="" href="EventTarget.html#method_detach" property="yui:name" title="detach">detach</a><span class="">,</span>
|
|
|
1299 |
</span>
|
|
|
1300 |
<span rel="yui:method" resource="EventTarget.html#method_detachAll">
|
|
|
1301 |
<a class="" href="EventTarget.html#method_detachAll" property="yui:name" title="detachAll">detachAll</a><span class="">,</span>
|
|
|
1302 |
</span>
|
|
|
1303 |
<span rel="yui:method" resource="EventTarget.html#method_fire">
|
|
|
1304 |
<a class="" href="EventTarget.html#method_fire" property="yui:name" title="fire">fire</a><span class="">,</span>
|
|
|
1305 |
</span>
|
|
|
1306 |
<span rel="yui:method" resource="EventTarget.html#method_getEvent">
|
|
|
1307 |
<a class="" href="EventTarget.html#method_getEvent" property="yui:name" title="getEvent">getEvent</a><span class="">,</span>
|
|
|
1308 |
</span>
|
|
|
1309 |
<span rel="yui:method" resource="EventTarget.html#method_on">
|
|
|
1310 |
<a class="" href="EventTarget.html#method_on" property="yui:name" title="on">on</a><span class="">,</span>
|
|
|
1311 |
</span>
|
|
|
1312 |
<span rel="yui:method" resource="EventTarget.html#method_publish">
|
|
|
1313 |
<a class="" href="EventTarget.html#method_publish" property="yui:name" title="publish">publish</a><span class="">,</span>
|
|
|
1314 |
</span>
|
|
|
1315 |
<span rel="yui:method" resource="EventTarget.html#method_removeTarget">
|
|
|
1316 |
<a class="" href="EventTarget.html#method_removeTarget" property="yui:name" title="removeTarget">removeTarget</a><span class="">,</span>
|
|
|
1317 |
</span>
|
|
|
1318 |
<span rel="yui:method" resource="EventTarget.html#method_subscribe">
|
|
|
1319 |
<a class=" deprecated" href="EventTarget.html#method_subscribe" property="yui:name" title="subscribe">subscribe</a><span class=" deprecated">,</span>
|
|
|
1320 |
</span>
|
|
|
1321 |
<span rel="yui:method" resource="EventTarget.html#method_unsubscribe">
|
|
|
1322 |
<a class=" deprecated" href="EventTarget.html#method_unsubscribe" property="yui:name" title="unsubscribe">unsubscribe</a><span class=" deprecated">,</span>
|
|
|
1323 |
</span>
|
|
|
1324 |
<span rel="yui:method" resource="EventTarget.html#method_unsubscribeAll">
|
|
|
1325 |
<a class=" deprecated" href="EventTarget.html#method_unsubscribeAll" property="yui:name" title="unsubscribeAll">unsubscribeAll</a>
|
|
|
1326 |
</span>
|
|
|
1327 |
</code>
|
|
|
1328 |
</div>
|
|
|
1329 |
</div>
|
|
|
1330 |
</div>
|
|
|
1331 |
</div>
|
|
|
1332 |
|
|
|
1333 |
<div rel="yui:events" resource="#events">
|
|
|
1334 |
<div class="section method details">
|
|
|
1335 |
<h3 id="events">Events</h3>
|
|
|
1336 |
<div class="content">
|
|
|
1337 |
<div class="" rel="yui:event" resource="#event_available">
|
|
|
1338 |
<h4>
|
|
|
1339 |
<a name="event_available">available</a></h4>
|
|
|
1340 |
<div class="detail">
|
|
|
1341 |
<code>
|
|
|
1342 |
|
|
|
1343 |
|
|
|
1344 |
|
|
|
1345 |
<strong property="yui:name">available</strong>
|
|
|
1346 |
|
|
|
1347 |
(
|
|
|
1348 |
)
|
|
|
1349 |
|
|
|
1350 |
</code>
|
|
|
1351 |
|
|
|
1352 |
<div class="description" property="yui:description">
|
|
|
1353 |
Executes the callback as soon as the specified element
|
|
|
1354 |
is detected in the DOM.
|
|
|
1355 |
</div>
|
|
|
1356 |
|
|
|
1357 |
<div class="description">
|
|
|
1358 |
|
|
|
1359 |
|
|
|
1360 |
|
|
|
1361 |
|
|
|
1362 |
</div>
|
|
|
1363 |
|
|
|
1364 |
</div>
|
|
|
1365 |
<hr />
|
|
|
1366 |
</div>
|
|
|
1367 |
<div class="" rel="yui:event" resource="#event_blur">
|
|
|
1368 |
<h4>
|
|
|
1369 |
<a name="event_blur">blur</a></h4>
|
|
|
1370 |
<div class="detail">
|
|
|
1371 |
<code>
|
|
|
1372 |
|
|
|
1373 |
|
|
|
1374 |
|
|
|
1375 |
<strong property="yui:name">blur</strong>
|
|
|
1376 |
|
|
|
1377 |
(
|
|
|
1378 |
)
|
|
|
1379 |
|
|
|
1380 |
</code>
|
|
|
1381 |
|
|
|
1382 |
<div class="description" property="yui:description">
|
|
|
1383 |
Adds a DOM blur listener. Uses the focusout event in IE,
|
|
|
1384 |
and the capture phase otherwise so that
|
|
|
1385 |
the event propagates in a way that enables event delegation.
|
|
|
1386 |
Note: if you are registering this event on the intended target
|
|
|
1387 |
rather than an ancestor, the element must be in the DOM
|
|
|
1388 |
at the time of registration in order for it to work in Opera.
|
|
|
1389 |
</div>
|
|
|
1390 |
|
|
|
1391 |
<div class="description">
|
|
|
1392 |
|
|
|
1393 |
|
|
|
1394 |
|
|
|
1395 |
|
|
|
1396 |
</div>
|
|
|
1397 |
|
|
|
1398 |
</div>
|
|
|
1399 |
<hr />
|
|
|
1400 |
</div>
|
|
|
1401 |
<div class="" rel="yui:event" resource="#event_contentready">
|
|
|
1402 |
<h4>
|
|
|
1403 |
<a name="event_contentready">contentready</a></h4>
|
|
|
1404 |
<div class="detail">
|
|
|
1405 |
<code>
|
|
|
1406 |
|
|
|
1407 |
|
|
|
1408 |
|
|
|
1409 |
<strong property="yui:name">contentready</strong>
|
|
|
1410 |
|
|
|
1411 |
(
|
|
|
1412 |
)
|
|
|
1413 |
|
|
|
1414 |
</code>
|
|
|
1415 |
|
|
|
1416 |
<div class="description" property="yui:description">
|
|
|
1417 |
Executes the callback as soon as the specified element
|
|
|
1418 |
is detected in the DOM with a nextSibling property
|
|
|
1419 |
(indicating that the element's children are available)
|
|
|
1420 |
</div>
|
|
|
1421 |
|
|
|
1422 |
<div class="description">
|
|
|
1423 |
|
|
|
1424 |
|
|
|
1425 |
|
|
|
1426 |
|
|
|
1427 |
</div>
|
|
|
1428 |
|
|
|
1429 |
</div>
|
|
|
1430 |
<hr />
|
|
|
1431 |
</div>
|
|
|
1432 |
<div class="" rel="yui:event" resource="#event_delegate">
|
|
|
1433 |
<h4>
|
|
|
1434 |
<a name="event_delegate">delegate</a></h4>
|
|
|
1435 |
<div class="detail">
|
|
|
1436 |
<code>
|
|
|
1437 |
|
|
|
1438 |
|
|
|
1439 |
|
|
|
1440 |
<strong property="yui:name">delegate</strong>
|
|
|
1441 |
|
|
|
1442 |
(
|
|
|
1443 |
|
|
|
1444 |
|
|
|
1445 |
type
|
|
|
1446 |
|
|
|
1447 |
|
|
|
1448 |
,
|
|
|
1449 |
fn
|
|
|
1450 |
|
|
|
1451 |
|
|
|
1452 |
,
|
|
|
1453 |
el
|
|
|
1454 |
|
|
|
1455 |
|
|
|
1456 |
,
|
|
|
1457 |
delegateType
|
|
|
1458 |
|
|
|
1459 |
|
|
|
1460 |
,
|
|
|
1461 |
spec
|
|
|
1462 |
|
|
|
1463 |
|
|
|
1464 |
)
|
|
|
1465 |
|
|
|
1466 |
</code>
|
|
|
1467 |
|
|
|
1468 |
<div class="description" property="yui:description">
|
|
|
1469 |
Sets up a delegated listener container.
|
|
|
1470 |
</div>
|
|
|
1471 |
|
|
|
1472 |
<div class="description">
|
|
|
1473 |
|
|
|
1474 |
|
|
|
1475 |
<dl rel="yui:parameters">
|
|
|
1476 |
<dt>Parameters:</dt>
|
|
|
1477 |
<dd rel="yui:parameter">
|
|
|
1478 |
<code><span property="yui:name">type</span>
|
|
|
1479 |
<<span property="yui:type">string</span>>
|
|
|
1480 |
</code>
|
|
|
1481 |
<span property="yui:description"> 'delegate'</span>
|
|
|
1482 |
</dd>
|
|
|
1483 |
|
|
|
1484 |
<dd rel="yui:parameter">
|
|
|
1485 |
<code><span property="yui:name">fn</span>
|
|
|
1486 |
<<span property="yui:type">string</span>>
|
|
|
1487 |
</code>
|
|
|
1488 |
<span property="yui:description"> the function to execute</span>
|
|
|
1489 |
</dd>
|
|
|
1490 |
|
|
|
1491 |
<dd rel="yui:parameter">
|
|
|
1492 |
<code><span property="yui:name">el</span>
|
|
|
1493 |
<<span property="yui:type">string|node</span>>
|
|
|
1494 |
</code>
|
|
|
1495 |
<span property="yui:description"> the element that is the delegation container</span>
|
|
|
1496 |
</dd>
|
|
|
1497 |
|
|
|
1498 |
<dd rel="yui:parameter">
|
|
|
1499 |
<code><span property="yui:name">delegateType</span>
|
|
|
1500 |
<<span property="yui:type">string</span>>
|
|
|
1501 |
</code>
|
|
|
1502 |
<span property="yui:description"> the event type to delegate</span>
|
|
|
1503 |
</dd>
|
|
|
1504 |
|
|
|
1505 |
<dd rel="yui:parameter">
|
|
|
1506 |
<code><span property="yui:name">spec</span>
|
|
|
1507 |
<<span property="yui:type">string</span>>
|
|
|
1508 |
</code>
|
|
|
1509 |
<span property="yui:description"> a selector that must match the target of the
|
|
|
1510 |
event.</span>
|
|
|
1511 |
</dd>
|
|
|
1512 |
|
|
|
1513 |
</dl>
|
|
|
1514 |
|
|
|
1515 |
|
|
|
1516 |
</div>
|
|
|
1517 |
|
|
|
1518 |
</div>
|
|
|
1519 |
<hr />
|
|
|
1520 |
</div>
|
|
|
1521 |
<div class="" rel="yui:event" resource="#event_domready">
|
|
|
1522 |
<h4>
|
|
|
1523 |
<a name="event_domready">domready</a></h4>
|
|
|
1524 |
<div class="detail">
|
|
|
1525 |
<code>
|
|
|
1526 |
|
|
|
1527 |
|
|
|
1528 |
|
|
|
1529 |
<strong property="yui:name">domready</strong>
|
|
|
1530 |
|
|
|
1531 |
(
|
|
|
1532 |
|
|
|
1533 |
|
|
|
1534 |
fn
|
|
|
1535 |
|
|
|
1536 |
|
|
|
1537 |
)
|
|
|
1538 |
|
|
|
1539 |
</code>
|
|
|
1540 |
|
|
|
1541 |
<div class="description" property="yui:description">
|
|
|
1542 |
Executes the supplied callback when the DOM is first usable. This
|
|
|
1543 |
will execute immediately if called after the DOMReady event has
|
|
|
1544 |
fired. @todo the DOMContentReady event does not fire when the
|
|
|
1545 |
script is dynamically injected into the page. This means the
|
|
|
1546 |
DOMReady custom event will never fire in FireFox or Opera when the
|
|
|
1547 |
library is injected. It _will_ fire in Safari, and the IE
|
|
|
1548 |
implementation would allow for us to fire it if the defered script
|
|
|
1549 |
is not available. We want this to behave the same in all browsers.
|
|
|
1550 |
Is there a way to identify when the script has been injected
|
|
|
1551 |
instead of included inline? Is there a way to know whether the
|
|
|
1552 |
window onload event has fired without having had a listener attached
|
|
|
1553 |
to it when it did so?
|
|
|
1554 |
<p>The callback is a Event.Custom, so the signature is:</p>
|
|
|
1555 |
<p>type <string>, args <array>, customobject <object></p>
|
|
|
1556 |
<p>For DOMReady events, there are no fire argments, so the
|
|
|
1557 |
signature is:</p>
|
|
|
1558 |
<p>"DOMReady", [], obj</p>
|
|
|
1559 |
</div>
|
|
|
1560 |
|
|
|
1561 |
<div class="description">
|
|
|
1562 |
|
|
|
1563 |
|
|
|
1564 |
<dl rel="yui:parameters">
|
|
|
1565 |
<dt>Parameters:</dt>
|
|
|
1566 |
<dd rel="yui:parameter">
|
|
|
1567 |
<code><span property="yui:name">fn</span>
|
|
|
1568 |
<<span property="yui:type">function</span>>
|
|
|
1569 |
</code>
|
|
|
1570 |
<span property="yui:description"> what to execute when the element is found.</span>
|
|
|
1571 |
</dd>
|
|
|
1572 |
|
|
|
1573 |
</dl>
|
|
|
1574 |
|
|
|
1575 |
|
|
|
1576 |
</div>
|
|
|
1577 |
|
|
|
1578 |
</div>
|
|
|
1579 |
<hr />
|
|
|
1580 |
</div>
|
|
|
1581 |
<div class=" deprecated" rel="yui:event" resource="#event_event:ready">
|
|
|
1582 |
<h4>
|
|
|
1583 |
<a name="event_event:ready">event:ready</a></h4>
|
|
|
1584 |
<div class="detail">
|
|
|
1585 |
<code>
|
|
|
1586 |
|
|
|
1587 |
|
|
|
1588 |
|
|
|
1589 |
<strong property="yui:name">event:ready</strong>
|
|
|
1590 |
|
|
|
1591 |
(
|
|
|
1592 |
)
|
|
|
1593 |
|
|
|
1594 |
</code>
|
|
|
1595 |
|
|
|
1596 |
<div class="description" property="yui:description">
|
|
|
1597 |
Use domready event instead. @see domready
|
|
|
1598 |
</div>
|
|
|
1599 |
|
|
|
1600 |
<div class="description">
|
|
|
1601 |
|
|
|
1602 |
|
|
|
1603 |
|
|
|
1604 |
|
|
|
1605 |
<div class="deprecated">
|
|
|
1606 |
<strong>Deprecated</strong> use 'domready' instead
|
|
|
1607 |
</div>
|
|
|
1608 |
</div>
|
|
|
1609 |
|
|
|
1610 |
</div>
|
|
|
1611 |
<hr />
|
|
|
1612 |
</div>
|
|
|
1613 |
<div class="" rel="yui:event" resource="#event_focus">
|
|
|
1614 |
<h4>
|
|
|
1615 |
<a name="event_focus">focus</a></h4>
|
|
|
1616 |
<div class="detail">
|
|
|
1617 |
<code>
|
|
|
1618 |
|
|
|
1619 |
|
|
|
1620 |
|
|
|
1621 |
<strong property="yui:name">focus</strong>
|
|
|
1622 |
|
|
|
1623 |
(
|
|
|
1624 |
)
|
|
|
1625 |
|
|
|
1626 |
</code>
|
|
|
1627 |
|
|
|
1628 |
<div class="description" property="yui:description">
|
|
|
1629 |
Adds a DOM focus listener. Uses the focusin event in IE,
|
|
|
1630 |
and the capture phase otherwise so that
|
|
|
1631 |
the event propagates in a way that enables event delegation.
|
|
|
1632 |
Note: if you are registering this event on the intended target
|
|
|
1633 |
rather than an ancestor, the element must be in the DOM in
|
|
|
1634 |
order for it to work in Opera.
|
|
|
1635 |
</div>
|
|
|
1636 |
|
|
|
1637 |
<div class="description">
|
|
|
1638 |
|
|
|
1639 |
|
|
|
1640 |
|
|
|
1641 |
|
|
|
1642 |
</div>
|
|
|
1643 |
|
|
|
1644 |
</div>
|
|
|
1645 |
<hr />
|
|
|
1646 |
</div>
|
|
|
1647 |
<div class="" rel="yui:event" resource="#event_key">
|
|
|
1648 |
<h4>
|
|
|
1649 |
<a name="event_key">key</a></h4>
|
|
|
1650 |
<div class="detail">
|
|
|
1651 |
<code>
|
|
|
1652 |
|
|
|
1653 |
|
|
|
1654 |
|
|
|
1655 |
<strong property="yui:name">key</strong>
|
|
|
1656 |
|
|
|
1657 |
(
|
|
|
1658 |
|
|
|
1659 |
|
|
|
1660 |
type
|
|
|
1661 |
|
|
|
1662 |
|
|
|
1663 |
,
|
|
|
1664 |
fn
|
|
|
1665 |
|
|
|
1666 |
|
|
|
1667 |
,
|
|
|
1668 |
id
|
|
|
1669 |
|
|
|
1670 |
|
|
|
1671 |
,
|
|
|
1672 |
spec
|
|
|
1673 |
|
|
|
1674 |
|
|
|
1675 |
,
|
|
|
1676 |
o
|
|
|
1677 |
|
|
|
1678 |
|
|
|
1679 |
,
|
|
|
1680 |
args
|
|
|
1681 |
|
|
|
1682 |
|
|
|
1683 |
)
|
|
|
1684 |
|
|
|
1685 |
</code>
|
|
|
1686 |
|
|
|
1687 |
<div class="description" property="yui:description">
|
|
|
1688 |
Add a key listener. The listener will only be notified if the
|
|
|
1689 |
keystroke detected meets the supplied specification. The
|
|
|
1690 |
spec consists of the key event type, followed by a colon,
|
|
|
1691 |
followed by zero or more comma separated key codes, followed
|
|
|
1692 |
by zero or more modifiers delimited by a plus sign. Ex:
|
|
|
1693 |
press:12,65+shift+ctrl
|
|
|
1694 |
</div>
|
|
|
1695 |
|
|
|
1696 |
<div class="description">
|
|
|
1697 |
|
|
|
1698 |
|
|
|
1699 |
<dl rel="yui:parameters">
|
|
|
1700 |
<dt>Parameters:</dt>
|
|
|
1701 |
<dd rel="yui:parameter">
|
|
|
1702 |
<code><span property="yui:name">type</span>
|
|
|
1703 |
<<span property="yui:type">string</span>>
|
|
|
1704 |
</code>
|
|
|
1705 |
<span property="yui:description"> 'key'</span>
|
|
|
1706 |
</dd>
|
|
|
1707 |
|
|
|
1708 |
<dd rel="yui:parameter">
|
|
|
1709 |
<code><span property="yui:name">fn</span>
|
|
|
1710 |
<<span property="yui:type">string</span>>
|
|
|
1711 |
</code>
|
|
|
1712 |
<span property="yui:description"> the function to execute</span>
|
|
|
1713 |
</dd>
|
|
|
1714 |
|
|
|
1715 |
<dd rel="yui:parameter">
|
|
|
1716 |
<code><span property="yui:name">id</span>
|
|
|
1717 |
<<span property="yui:type">string</span>>
|
|
|
1718 |
</code>
|
|
|
1719 |
<span property="yui:description"> the element(s) to bind</span>
|
|
|
1720 |
</dd>
|
|
|
1721 |
|
|
|
1722 |
<dd rel="yui:parameter">
|
|
|
1723 |
<code><span property="yui:name">spec</span>
|
|
|
1724 |
<<span property="yui:type">string</span>>
|
|
|
1725 |
</code>
|
|
|
1726 |
<span property="yui:description"> the keyCode and modifier specification</span>
|
|
|
1727 |
</dd>
|
|
|
1728 |
|
|
|
1729 |
<dd rel="yui:parameter">
|
|
|
1730 |
<code><span property="yui:name">o</span>
|
|
|
1731 |
<<span property="yui:type">object</span>>
|
|
|
1732 |
</code>
|
|
|
1733 |
<span property="yui:description"> optional context object</span>
|
|
|
1734 |
</dd>
|
|
|
1735 |
|
|
|
1736 |
<dd rel="yui:parameter">
|
|
|
1737 |
<code><span property="yui:name">args</span>
|
|
|
1738 |
<<span property="yui:type">object</span>>
|
|
|
1739 |
</code>
|
|
|
1740 |
<span property="yui:description"> 0..n additional arguments that should be provided
|
|
|
1741 |
to the listener.</span>
|
|
|
1742 |
</dd>
|
|
|
1743 |
|
|
|
1744 |
</dl>
|
|
|
1745 |
|
|
|
1746 |
|
|
|
1747 |
</div>
|
|
|
1748 |
|
|
|
1749 |
</div>
|
|
|
1750 |
<hr />
|
|
|
1751 |
</div>
|
|
|
1752 |
<div class="" rel="yui:event" resource="#event_mouseenter">
|
|
|
1753 |
<h4>
|
|
|
1754 |
<a name="event_mouseenter">mouseenter</a></h4>
|
|
|
1755 |
<div class="detail">
|
|
|
1756 |
<code>
|
|
|
1757 |
|
|
|
1758 |
|
|
|
1759 |
|
|
|
1760 |
<strong property="yui:name">mouseenter</strong>
|
|
|
1761 |
|
|
|
1762 |
(
|
|
|
1763 |
|
|
|
1764 |
|
|
|
1765 |
type
|
|
|
1766 |
|
|
|
1767 |
|
|
|
1768 |
,
|
|
|
1769 |
fn
|
|
|
1770 |
|
|
|
1771 |
|
|
|
1772 |
,
|
|
|
1773 |
el
|
|
|
1774 |
|
|
|
1775 |
|
|
|
1776 |
,
|
|
|
1777 |
spec
|
|
|
1778 |
|
|
|
1779 |
|
|
|
1780 |
)
|
|
|
1781 |
|
|
|
1782 |
</code>
|
|
|
1783 |
|
|
|
1784 |
<div class="description" property="yui:description">
|
|
|
1785 |
Sets up a "mouseenter" listener—a listener that is called the first time
|
|
|
1786 |
the user's mouse enters the specified element(s). By passing a CSS selector
|
|
|
1787 |
as the fourth argument, can also be used to delegate a "mouseenter"
|
|
|
1788 |
event listener.
|
|
|
1789 |
</div>
|
|
|
1790 |
|
|
|
1791 |
<div class="description">
|
|
|
1792 |
|
|
|
1793 |
|
|
|
1794 |
<dl rel="yui:parameters">
|
|
|
1795 |
<dt>Parameters:</dt>
|
|
|
1796 |
<dd rel="yui:parameter">
|
|
|
1797 |
<code><span property="yui:name">type</span>
|
|
|
1798 |
<<span property="yui:type">string</span>>
|
|
|
1799 |
</code>
|
|
|
1800 |
<span property="yui:description"> "mouseenter"</span>
|
|
|
1801 |
</dd>
|
|
|
1802 |
|
|
|
1803 |
<dd rel="yui:parameter">
|
|
|
1804 |
<code><span property="yui:name">fn</span>
|
|
|
1805 |
<<span property="yui:type">string</span>>
|
|
|
1806 |
</code>
|
|
|
1807 |
<span property="yui:description"> The method the event invokes.</span>
|
|
|
1808 |
</dd>
|
|
|
1809 |
|
|
|
1810 |
<dd rel="yui:parameter">
|
|
|
1811 |
<code><span property="yui:name">el</span>
|
|
|
1812 |
<<span property="yui:type">string|node</span>>
|
|
|
1813 |
</code>
|
|
|
1814 |
<span property="yui:description"> The element(s) to assign the listener to.</span>
|
|
|
1815 |
</dd>
|
|
|
1816 |
|
|
|
1817 |
<dd rel="yui:parameter">
|
|
|
1818 |
<code><span property="yui:name">spec</span>
|
|
|
1819 |
<<span property="yui:type">string</span>>
|
|
|
1820 |
</code>
|
|
|
1821 |
<span property="yui:description"> Optional. String representing a selector that must
|
|
|
1822 |
match the target of the event in order for the listener to be called.</span>
|
|
|
1823 |
</dd>
|
|
|
1824 |
|
|
|
1825 |
</dl>
|
|
|
1826 |
|
|
|
1827 |
|
|
|
1828 |
</div>
|
|
|
1829 |
|
|
|
1830 |
</div>
|
|
|
1831 |
<hr />
|
|
|
1832 |
</div>
|
|
|
1833 |
<div class="" rel="yui:event" resource="#event_mouseleave">
|
|
|
1834 |
<h4>
|
|
|
1835 |
<a name="event_mouseleave">mouseleave</a></h4>
|
|
|
1836 |
<div class="detail">
|
|
|
1837 |
<code>
|
|
|
1838 |
|
|
|
1839 |
|
|
|
1840 |
|
|
|
1841 |
<strong property="yui:name">mouseleave</strong>
|
|
|
1842 |
|
|
|
1843 |
(
|
|
|
1844 |
|
|
|
1845 |
|
|
|
1846 |
type
|
|
|
1847 |
|
|
|
1848 |
|
|
|
1849 |
,
|
|
|
1850 |
fn
|
|
|
1851 |
|
|
|
1852 |
|
|
|
1853 |
,
|
|
|
1854 |
el
|
|
|
1855 |
|
|
|
1856 |
|
|
|
1857 |
,
|
|
|
1858 |
spec
|
|
|
1859 |
|
|
|
1860 |
|
|
|
1861 |
)
|
|
|
1862 |
|
|
|
1863 |
</code>
|
|
|
1864 |
|
|
|
1865 |
<div class="description" property="yui:description">
|
|
|
1866 |
Sets up a "mouseleave" listener—a listener that is called the first time
|
|
|
1867 |
the user's mouse leaves the specified element(s). By passing a CSS selector
|
|
|
1868 |
as the fourth argument, can also be used to delegate a "mouseleave"
|
|
|
1869 |
event listener.
|
|
|
1870 |
</div>
|
|
|
1871 |
|
|
|
1872 |
<div class="description">
|
|
|
1873 |
|
|
|
1874 |
|
|
|
1875 |
<dl rel="yui:parameters">
|
|
|
1876 |
<dt>Parameters:</dt>
|
|
|
1877 |
<dd rel="yui:parameter">
|
|
|
1878 |
<code><span property="yui:name">type</span>
|
|
|
1879 |
<<span property="yui:type">string</span>>
|
|
|
1880 |
</code>
|
|
|
1881 |
<span property="yui:description"> "mouseleave"</span>
|
|
|
1882 |
</dd>
|
|
|
1883 |
|
|
|
1884 |
<dd rel="yui:parameter">
|
|
|
1885 |
<code><span property="yui:name">fn</span>
|
|
|
1886 |
<<span property="yui:type">string</span>>
|
|
|
1887 |
</code>
|
|
|
1888 |
<span property="yui:description"> The method the event invokes.</span>
|
|
|
1889 |
</dd>
|
|
|
1890 |
|
|
|
1891 |
<dd rel="yui:parameter">
|
|
|
1892 |
<code><span property="yui:name">el</span>
|
|
|
1893 |
<<span property="yui:type">string|node</span>>
|
|
|
1894 |
</code>
|
|
|
1895 |
<span property="yui:description"> The element(s) to assign the listener to.</span>
|
|
|
1896 |
</dd>
|
|
|
1897 |
|
|
|
1898 |
<dd rel="yui:parameter">
|
|
|
1899 |
<code><span property="yui:name">spec</span>
|
|
|
1900 |
<<span property="yui:type">string</span>>
|
|
|
1901 |
</code>
|
|
|
1902 |
<span property="yui:description"> Optional. String representing a selector that must
|
|
|
1903 |
match the target of the event in order for the listener to be called.</span>
|
|
|
1904 |
</dd>
|
|
|
1905 |
|
|
|
1906 |
</dl>
|
|
|
1907 |
|
|
|
1908 |
|
|
|
1909 |
</div>
|
|
|
1910 |
|
|
|
1911 |
</div>
|
|
|
1912 |
<hr />
|
|
|
1913 |
</div>
|
|
|
1914 |
<div class="" rel="yui:event" resource="#event_windowresize">
|
|
|
1915 |
<h4>
|
|
|
1916 |
<a name="event_windowresize">windowresize</a></h4>
|
|
|
1917 |
<div class="detail">
|
|
|
1918 |
<code>
|
|
|
1919 |
|
|
|
1920 |
|
|
|
1921 |
|
|
|
1922 |
<strong property="yui:name">windowresize</strong>
|
|
|
1923 |
|
|
|
1924 |
(
|
|
|
1925 |
)
|
|
|
1926 |
|
|
|
1927 |
</code>
|
|
|
1928 |
|
|
|
1929 |
<div class="description" property="yui:description">
|
|
|
1930 |
Firefox fires the window resize event once when the resize action
|
|
|
1931 |
finishes, other browsers fire the event periodically during the
|
|
|
1932 |
resize. This code uses timeout logic to simulate the Firefox
|
|
|
1933 |
behavior in other browsers.
|
|
|
1934 |
</div>
|
|
|
1935 |
|
|
|
1936 |
<div class="description">
|
|
|
1937 |
|
|
|
1938 |
|
|
|
1939 |
|
|
|
1940 |
|
|
|
1941 |
</div>
|
|
|
1942 |
|
|
|
1943 |
</div>
|
|
|
1944 |
<hr />
|
|
|
1945 |
</div>
|
|
|
1946 |
</div>
|
|
|
1947 |
</div>
|
|
|
1948 |
|
|
|
1949 |
|
|
|
1950 |
</div>
|
|
|
1951 |
|
|
|
1952 |
<div rel="yui:attributes" resource="#configattributes">
|
|
|
1953 |
|
|
|
1954 |
</div>
|
|
|
1955 |
|
|
|
1956 |
</div>
|
|
|
1957 |
</div>
|
|
|
1958 |
<div class="yui-b">
|
|
|
1959 |
<div class="nav">
|
|
|
1960 |
|
|
|
1961 |
<div id="moduleList" class="module">
|
|
|
1962 |
<h4>Modules</h4>
|
|
|
1963 |
<ul class="content">
|
|
|
1964 |
<li class=""><a href="module_anim.html" title="anim">anim</a></li>
|
|
|
1965 |
<li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
|
|
|
1966 |
<li class=""><a href="module_base.html" title="base">base</a></li>
|
|
|
1967 |
<li class=""><a href="module_cache.html" title="cache">cache</a></li>
|
|
|
1968 |
<li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
|
|
|
1969 |
<li class=""><a href="module_collection.html" title="collection">collection</a></li>
|
|
|
1970 |
<li class=""><a href="module_console.html" title="console">console</a></li>
|
|
|
1971 |
<li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
|
|
|
1972 |
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
|
|
|
1973 |
<li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
|
|
|
1974 |
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
|
|
|
1975 |
<li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
|
|
|
1976 |
<li class=""><a href="module_dd.html" title="dd">dd</a></li>
|
|
|
1977 |
<li class=""><a href="module_dom.html" title="dom">dom</a></li>
|
|
|
1978 |
<li class=""><a href="module_dump.html" title="dump">dump</a></li>
|
|
|
1979 |
<li class=""><a href="module_event.html" title="event">event</a></li>
|
|
|
1980 |
<li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
|
|
|
1981 |
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
|
|
|
1982 |
<li class=""><a href="module_history.html" title="history">history</a></li>
|
|
|
1983 |
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
|
|
|
1984 |
<li class=""><a href="module_io.html" title="io">io</a></li>
|
|
|
1985 |
<li class=""><a href="module_json.html" title="json">json</a></li>
|
|
|
1986 |
<li class=""><a href="module_node.html" title="node">node</a></li>
|
|
|
1987 |
<li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
|
|
|
1988 |
<li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
|
|
|
1989 |
<li class=""><a href="module_oop.html" title="oop">oop</a></li>
|
|
|
1990 |
<li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
|
|
|
1991 |
<li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
|
|
|
1992 |
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
|
|
|
1993 |
<li class=""><a href="module_queue.html" title="queue">queue</a></li>
|
|
|
1994 |
<li class=""><a href="module_slider.html" title="slider">slider</a></li>
|
|
|
1995 |
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
|
|
|
1996 |
<li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
|
|
|
1997 |
<li class=""><a href="module_test.html" title="test">test</a></li>
|
|
|
1998 |
<li class=""><a href="module_widget.html" title="widget">widget</a></li>
|
|
|
1999 |
<li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
|
|
|
2000 |
<li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li>
|
|
|
2001 |
<li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
|
|
|
2002 |
<li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
|
|
|
2003 |
<li class="selected"><a href="module_yui.html" title="yui">yui</a></li>
|
|
|
2004 |
</ul>
|
|
|
2005 |
</div>
|
|
|
2006 |
|
|
|
2007 |
<div id="classList" class="module">
|
|
|
2008 |
<h4>Classes</h4>
|
|
|
2009 |
<ul class="content">
|
|
|
2010 |
<li class=""><a href="Array.html" title="Array">Array</a></li>
|
|
|
2011 |
<li class=""><a href="config.html" title="config">config</a></li>
|
|
|
2012 |
<li class=""><a href="Get.html" title="Get">Get</a></li>
|
|
|
2013 |
<li class=""><a href="Lang.html" title="Lang">Lang</a></li>
|
|
|
2014 |
<li class=""><a href="Loader.html" title="Loader">Loader</a></li>
|
|
|
2015 |
<li class=""><a href="Object.html" title="Object">Object</a></li>
|
|
|
2016 |
<li class=""><a href="UA.html" title="UA">UA</a></li>
|
|
|
2017 |
<li class="selected"><a href="YUI.html" title="YUI">YUI</a></li>
|
|
|
2018 |
</ul>
|
|
|
2019 |
</div>
|
|
|
2020 |
|
|
|
2021 |
<div id="fileList" class="module">
|
|
|
2022 |
<h4>Files</h4>
|
|
|
2023 |
<ul class="content">
|
|
|
2024 |
<li class=""><a href="_module.js.html" title="_module.js">_module.js</a></li>
|
|
|
2025 |
<li class=""><a href="get.js.html" title="get.js">get.js</a></li>
|
|
|
2026 |
<li class=""><a href="loader.js.html" title="loader.js">loader.js</a></li>
|
|
|
2027 |
<li class=""><a href="yui-array.js.html" title="yui-array.js">yui-array.js</a></li>
|
|
|
2028 |
<li class=""><a href="yui-base.js.html" title="yui-base.js">yui-base.js</a></li>
|
|
|
2029 |
<li class=""><a href="yui-core.js.html" title="yui-core.js">yui-core.js</a></li>
|
|
|
2030 |
<li class=""><a href="yui-init.js.html" title="yui-init.js">yui-init.js</a></li>
|
|
|
2031 |
<li class=""><a href="yui-lang.js.html" title="yui-lang.js">yui-lang.js</a></li>
|
|
|
2032 |
<li class=""><a href="yui-later.js.html" title="yui-later.js">yui-later.js</a></li>
|
|
|
2033 |
<li class=""><a href="yui-log.js.html" title="yui-log.js">yui-log.js</a></li>
|
|
|
2034 |
<li class=""><a href="yui-object.js.html" title="yui-object.js">yui-object.js</a></li>
|
|
|
2035 |
<li class=""><a href="yui-ua.js.html" title="yui-ua.js">yui-ua.js</a></li>
|
|
|
2036 |
<li class=""><a href="yui.js.html" title="yui.js">yui.js</a></li>
|
|
|
2037 |
</ul>
|
|
|
2038 |
</div>
|
|
|
2039 |
|
|
|
2040 |
<div id="propertyList" class="module">
|
|
|
2041 |
<h4>Properties</h4>
|
|
|
2042 |
<ul class="content">
|
|
|
2043 |
<li class=""><a href="#property_Global" title="Global">Global</a></li>
|
|
|
2044 |
</ul>
|
|
|
2045 |
</div>
|
|
|
2046 |
|
|
|
2047 |
<div id="methodsList" class="module">
|
|
|
2048 |
<h4>Methods</h4>
|
|
|
2049 |
<ul class="content">
|
|
|
2050 |
<li class="private"><a href="#method__init" title="_init">_init</a></li>
|
|
|
2051 |
<li class="private"><a href="#method__setup" title="_setup">_setup</a></li>
|
|
|
2052 |
<li class=""><a href="#method_add" title="add">add</a></li>
|
|
|
2053 |
<li class=""><a href="#method_applyTo" title="applyTo">applyTo</a></li>
|
|
|
2054 |
<li class=""><a href="#method_cached" title="cached">cached</a></li>
|
|
|
2055 |
<li class=""><a href="#method_error" title="error">error</a></li>
|
|
|
2056 |
<li class=""><a href="#method_guid" title="guid">guid</a></li>
|
|
|
2057 |
<li class=""><a href="#method_later" title="later">later</a></li>
|
|
|
2058 |
<li class=""><a href="#method_log" title="log">log</a></li>
|
|
|
2059 |
<li class=""><a href="#method_merge" title="merge">merge</a></li>
|
|
|
2060 |
<li class=""><a href="#method_message" title="message">message</a></li>
|
|
|
2061 |
<li class=""><a href="#method_mix" title="mix">mix</a></li>
|
|
|
2062 |
<li class=""><a href="#method_namespace" title="namespace">namespace</a></li>
|
|
|
2063 |
<li class=""><a href="#method_simulate" title="simulate">simulate</a></li>
|
|
|
2064 |
<li class=""><a href="#method_stamp" title="stamp">stamp</a></li>
|
|
|
2065 |
<li class=""><a href="#method_use" title="use">use</a></li>
|
|
|
2066 |
</ul>
|
|
|
2067 |
</div>
|
|
|
2068 |
|
|
|
2069 |
<div id="eventsList" class="module">
|
|
|
2070 |
<h4>Events</h4>
|
|
|
2071 |
<ul class="content">
|
|
|
2072 |
<li class=""><a href="#event_available" title="available">available</a></li>
|
|
|
2073 |
<li class=""><a href="#event_blur" title="blur">blur</a></li>
|
|
|
2074 |
<li class=""><a href="#event_contentready" title="contentready">contentready</a></li>
|
|
|
2075 |
<li class=""><a href="#event_delegate" title="delegate">delegate</a></li>
|
|
|
2076 |
<li class=""><a href="#event_domready" title="domready">domready</a></li>
|
|
|
2077 |
<li class=" deprecated"><a href="#event_event:ready" title="event:ready">event:ready</a></li>
|
|
|
2078 |
<li class=""><a href="#event_focus" title="focus">focus</a></li>
|
|
|
2079 |
<li class=""><a href="#event_key" title="key">key</a></li>
|
|
|
2080 |
<li class=""><a href="#event_mouseenter" title="mouseenter">mouseenter</a></li>
|
|
|
2081 |
<li class=""><a href="#event_mouseleave" title="mouseleave">mouseleave</a></li>
|
|
|
2082 |
<li class=""><a href="#event_windowresize" title="windowresize">windowresize</a></li>
|
|
|
2083 |
</ul>
|
|
|
2084 |
</div>
|
|
|
2085 |
|
|
|
2086 |
|
|
|
2087 |
</div>
|
|
|
2088 |
</div>
|
|
|
2089 |
</div>
|
|
|
2090 |
<div id="ft">
|
|
|
2091 |
<hr />
|
|
|
2092 |
Copyright © 2009 Yahoo! Inc. All rights reserved.
|
|
|
2093 |
</div>
|
|
|
2094 |
</div>
|
|
|
2095 |
<script type="text/javascript">
|
|
|
2096 |
ALL_YUI_PROPS = [{"access": "", "host": "Object", "name": "()", "url": "Object.html#method_()", "type": "method"}, {"access": "", "host": "YUI", "name": "add", "url": "YUI.html#method_add", "type": "method"}, {"access": "", "host": "YUI", "name": "applyTo", "url": "YUI.html#method_applyTo", "type": "method"}, {"access": "", "host": "YUI", "name": "available", "url": "YUI.html#event_available", "type": "event"}, {"access": "", "host": "YUI", "name": "blur", "url": "YUI.html#event_blur", "type": "event"}, {"access": "", "host": "YUI", "name": "cached", "url": "YUI.html#method_cached", "type": "method"}, {"access": "", "host": "YUI", "name": "contentready", "url": "YUI.html#event_contentready", "type": "event"}, {"access": "", "host": "YUI", "name": "delegate", "url": "YUI.html#event_delegate", "type": "event"}, {"access": "", "host": "YUI", "name": "domready", "url": "YUI.html#event_domready", "type": "event"}, {"access": "", "host": "Object", "name": "each", "url": "Object.html#method_each", "type": "method"}, {"access": "", "host": "YUI", "name": "error", "url": "YUI.html#method_error", "type": "method"}, {"access": "", "host": "YUI", "name": "event:ready", "url": "YUI.html#event_event:ready", "type": "event"}, {"access": "private", "host": "Object", "name": "_extract", "url": "Object.html#method__extract", "type": "method"}, {"access": "", "host": "YUI", "name": "focus", "url": "YUI.html#event_focus", "type": "event"}, {"access": "", "host": "Object", "name": "getValue", "url": "Object.html#method_getValue", "type": "method"}, {"access": "", "host": "YUI", "name": "Global", "url": "YUI.html#property_Global", "type": "property"}, {"access": "", "host": "YUI", "name": "guid", "url": "YUI.html#method_guid", "type": "method"}, {"access": "", "host": "Object", "name": "hasKey", "url": "Object.html#method_hasKey", "type": "method"}, {"access": "", "host": "Object", "name": "hasValue", "url": "Object.html#method_hasValue", "type": "method"}, {"access": "private", "host": "YUI", "name": "_init", "url": "YUI.html#method__init", "type": "method"}, {"access": "", "host": "YUI", "name": "key", "url": "YUI.html#event_key", "type": "event"}, {"access": "", "host": "Object", "name": "keys", "url": "Object.html#method_keys", "type": "method"}, {"access": "", "host": "YUI", "name": "later", "url": "YUI.html#method_later", "type": "method"}, {"access": "", "host": "YUI", "name": "log", "url": "YUI.html#method_log", "type": "method"}, {"access": "", "host": "YUI", "name": "merge", "url": "YUI.html#method_merge", "type": "method"}, {"access": "", "host": "YUI", "name": "message", "url": "YUI.html#method_message", "type": "method"}, {"access": "", "host": "YUI", "name": "mix", "url": "YUI.html#method_mix", "type": "method"}, {"access": "", "host": "YUI", "name": "mouseenter", "url": "YUI.html#event_mouseenter", "type": "event"}, {"access": "", "host": "YUI", "name": "mouseleave", "url": "YUI.html#event_mouseleave", "type": "event"}, {"access": "", "host": "YUI", "name": "namespace", "url": "YUI.html#method_namespace", "type": "method"}, {"access": "", "host": "Object", "name": "owns", "url": "Object.html#method_owns", "type": "method"}, {"access": "private", "host": "YUI", "name": "_setup", "url": "YUI.html#method__setup", "type": "method"}, {"access": "", "host": "Object", "name": "setValue", "url": "Object.html#method_setValue", "type": "method"}, {"access": "", "host": "YUI", "name": "simulate", "url": "YUI.html#method_simulate", "type": "method"}, {"access": "", "host": "Object", "name": "size", "url": "Object.html#method_size", "type": "method"}, {"access": "", "host": "YUI", "name": "stamp", "url": "YUI.html#method_stamp", "type": "method"}, {"access": "", "host": "YUI", "name": "use", "url": "YUI.html#method_use", "type": "method"}, {"access": "", "host": "Object", "name": "values", "url": "Object.html#method_values", "type": "method"}, {"access": "", "host": "YUI", "name": "windowresize", "url": "YUI.html#event_windowresize", "type": "event"}];
|
|
|
2097 |
</script>
|
|
|
2098 |
</body>
|
|
|
2099 |
</html>
|