|
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 Array (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.0</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 |
> Array |
|
|
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">Array</b> |
|
|
52 |
<span class="extends"> |
|
|
53 |
</span> |
|
|
54 |
|
|
|
55 |
</h2> |
|
|
56 |
<!-- class tree goes here --> |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
<div class="summary description" property="yui:description"> |
|
|
62 |
Adds the following array utilities to the YUI instance. Additional |
|
|
63 |
array helpers can be found in the collection component. |
|
|
64 |
</div> |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
<div rel="yui:properties" resource="#properties"> |
|
|
68 |
|
|
|
69 |
</div> |
|
|
70 |
|
|
|
71 |
<div rel="yui:methods" resource="#methods"> |
|
|
72 |
<div class="section method details"> |
|
|
73 |
<h3 id="methods">Methods</h3> |
|
|
74 |
<div class="content"> |
|
|
75 |
<div class="" rel="yui:method" resource="#method_()"> |
|
|
76 |
<h4> |
|
|
77 |
<a name="method_()">()</a></h4> |
|
|
78 |
<div class="detail" > |
|
|
79 |
<code> |
|
|
80 |
|
|
|
81 |
static |
|
|
82 |
|
|
|
83 |
Array |
|
|
84 |
<strong property="yui:name">()</strong> |
|
|
85 |
( |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
o |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
, |
|
|
92 |
i |
|
|
93 |
|
|
|
94 |
|
|
|
95 |
, |
|
|
96 |
al |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
) |
|
|
100 |
</code> |
|
|
101 |
|
|
|
102 |
<div class="description" property="yui:description"> |
|
|
103 |
Y.Array(o) returns an array: |
|
|
104 |
- Arrays are return unmodified unless the start position is specified. |
|
|
105 |
- "Array-like" collections (@see Array.test) are converted to arrays |
|
|
106 |
- For everything else, a new array is created with the input as the sole item |
|
|
107 |
- The start position is used if the input is or is like an array to return |
|
|
108 |
a subset of the collection. |
|
|
109 |
</div> |
|
|
110 |
|
|
|
111 |
<div class="description"> |
|
|
112 |
|
|
|
113 |
<dl rel="yui:parameters"> |
|
|
114 |
<dt>Parameters:</dt> |
|
|
115 |
<dd rel="yui:parameter"> |
|
|
116 |
<code><span property="yui:name">o</span> |
|
|
117 |
<<span property="yui:type">object</span>> |
|
|
118 |
</code> |
|
|
119 |
<span property="yui:description"> the item to arrayify</span> |
|
|
120 |
</dd> |
|
|
121 |
<dd rel="yui:parameter"> |
|
|
122 |
<code><span property="yui:name">i</span> |
|
|
123 |
<<span property="yui:type">int</span>> |
|
|
124 |
</code> |
|
|
125 |
<span property="yui:description"> if an array or array-like, this is the start index</span> |
|
|
126 |
</dd> |
|
|
127 |
<dd rel="yui:parameter"> |
|
|
128 |
<code><span property="yui:name">al</span> |
|
|
129 |
<<span property="yui:type">boolean</span>> |
|
|
130 |
</code> |
|
|
131 |
<span property="yui:description"> if true, it forces the array-like fork. This |
|
|
132 |
can be used to avoid multiple array.test calls.</span> |
|
|
133 |
</dd> |
|
|
134 |
</dl> |
|
|
135 |
|
|
|
136 |
<dl> |
|
|
137 |
<dt>Returns: |
|
|
138 |
<code property="yui:return"> |
|
|
139 |
Array |
|
|
140 |
</code></dt> |
|
|
141 |
<dd property="yui:returnInfo">the resulting array</dd> |
|
|
142 |
</dl> |
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
</div> |
|
|
148 |
|
|
|
149 |
</div> |
|
|
150 |
<hr /> |
|
|
151 |
</div> |
|
|
152 |
<div class="" rel="yui:method" resource="#method_each"> |
|
|
153 |
<h4> |
|
|
154 |
<a name="method_each">each</a></h4> |
|
|
155 |
<div class="detail" > |
|
|
156 |
<code> |
|
|
157 |
|
|
|
158 |
static |
|
|
159 |
|
|
|
160 |
YUI |
|
|
161 |
<strong property="yui:name">each</strong> |
|
|
162 |
( |
|
|
163 |
|
|
|
164 |
|
|
|
165 |
a |
|
|
166 |
|
|
|
167 |
|
|
|
168 |
, |
|
|
169 |
f |
|
|
170 |
|
|
|
171 |
|
|
|
172 |
, |
|
|
173 |
o |
|
|
174 |
|
|
|
175 |
|
|
|
176 |
) |
|
|
177 |
</code> |
|
|
178 |
|
|
|
179 |
<div class="description" property="yui:description"> |
|
|
180 |
Executes the supplied function on each item in the array. |
|
|
181 |
</div> |
|
|
182 |
|
|
|
183 |
<div class="description"> |
|
|
184 |
|
|
|
185 |
<dl rel="yui:parameters"> |
|
|
186 |
<dt>Parameters:</dt> |
|
|
187 |
<dd rel="yui:parameter"> |
|
|
188 |
<code><span property="yui:name">a</span> |
|
|
189 |
<<span property="yui:type">Array</span>> |
|
|
190 |
</code> |
|
|
191 |
<span property="yui:description"> the array to iterate</span> |
|
|
192 |
</dd> |
|
|
193 |
<dd rel="yui:parameter"> |
|
|
194 |
<code><span property="yui:name">f</span> |
|
|
195 |
<<span property="yui:type">Function</span>> |
|
|
196 |
</code> |
|
|
197 |
<span property="yui:description"> the function to execute on each item. The |
|
|
198 |
function receives three arguments: the value, the index, the full array.</span> |
|
|
199 |
</dd> |
|
|
200 |
<dd rel="yui:parameter"> |
|
|
201 |
<code><span property="yui:name">o</span> |
|
|
202 |
<<span property="yui:type">object</span>> |
|
|
203 |
</code> |
|
|
204 |
<span property="yui:description"> Optional context object</span> |
|
|
205 |
</dd> |
|
|
206 |
</dl> |
|
|
207 |
|
|
|
208 |
<dl> |
|
|
209 |
<dt>Returns: |
|
|
210 |
<code property="yui:return"> |
|
|
211 |
YUI |
|
|
212 |
</code></dt> |
|
|
213 |
<dd property="yui:returnInfo">the YUI instance</dd> |
|
|
214 |
</dl> |
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
</div> |
|
|
220 |
|
|
|
221 |
</div> |
|
|
222 |
<hr /> |
|
|
223 |
</div> |
|
|
224 |
<div class="" rel="yui:method" resource="#method_hash"> |
|
|
225 |
<h4> |
|
|
226 |
<a name="method_hash">hash</a></h4> |
|
|
227 |
<div class="detail" > |
|
|
228 |
<code> |
|
|
229 |
|
|
|
230 |
static |
|
|
231 |
|
|
|
232 |
object |
|
|
233 |
<strong property="yui:name">hash</strong> |
|
|
234 |
( |
|
|
235 |
|
|
|
236 |
|
|
|
237 |
k |
|
|
238 |
|
|
|
239 |
|
|
|
240 |
, |
|
|
241 |
v |
|
|
242 |
|
|
|
243 |
|
|
|
244 |
) |
|
|
245 |
</code> |
|
|
246 |
|
|
|
247 |
<div class="description" property="yui:description"> |
|
|
248 |
Returns an object using the first array as keys, and |
|
|
249 |
the second as values. If the second array is not |
|
|
250 |
provided the value is set to true for each. |
|
|
251 |
</div> |
|
|
252 |
|
|
|
253 |
<div class="description"> |
|
|
254 |
|
|
|
255 |
<dl rel="yui:parameters"> |
|
|
256 |
<dt>Parameters:</dt> |
|
|
257 |
<dd rel="yui:parameter"> |
|
|
258 |
<code><span property="yui:name">k</span> |
|
|
259 |
<<span property="yui:type">Array</span>> |
|
|
260 |
</code> |
|
|
261 |
<span property="yui:description"> keyset</span> |
|
|
262 |
</dd> |
|
|
263 |
<dd rel="yui:parameter"> |
|
|
264 |
<code><span property="yui:name">v</span> |
|
|
265 |
<<span property="yui:type">Array</span>> |
|
|
266 |
</code> |
|
|
267 |
<span property="yui:description"> optional valueset</span> |
|
|
268 |
</dd> |
|
|
269 |
</dl> |
|
|
270 |
|
|
|
271 |
<dl> |
|
|
272 |
<dt>Returns: |
|
|
273 |
<code property="yui:return"> |
|
|
274 |
object |
|
|
275 |
</code></dt> |
|
|
276 |
<dd property="yui:returnInfo">the hash</dd> |
|
|
277 |
</dl> |
|
|
278 |
|
|
|
279 |
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
</div> |
|
|
283 |
|
|
|
284 |
</div> |
|
|
285 |
<hr /> |
|
|
286 |
</div> |
|
|
287 |
<div class="" rel="yui:method" resource="#method_indexOf"> |
|
|
288 |
<h4> |
|
|
289 |
<a name="method_indexOf">indexOf</a></h4> |
|
|
290 |
<div class="detail" > |
|
|
291 |
<code> |
|
|
292 |
|
|
|
293 |
static |
|
|
294 |
|
|
|
295 |
int |
|
|
296 |
<strong property="yui:name">indexOf</strong> |
|
|
297 |
( |
|
|
298 |
|
|
|
299 |
|
|
|
300 |
a |
|
|
301 |
|
|
|
302 |
|
|
|
303 |
, |
|
|
304 |
val |
|
|
305 |
|
|
|
306 |
|
|
|
307 |
) |
|
|
308 |
</code> |
|
|
309 |
|
|
|
310 |
<div class="description" property="yui:description"> |
|
|
311 |
Returns the index of the first item in the array |
|
|
312 |
that contains the specified value, -1 if the |
|
|
313 |
value isn't found. |
|
|
314 |
</div> |
|
|
315 |
|
|
|
316 |
<div class="description"> |
|
|
317 |
|
|
|
318 |
<dl rel="yui:parameters"> |
|
|
319 |
<dt>Parameters:</dt> |
|
|
320 |
<dd rel="yui:parameter"> |
|
|
321 |
<code><span property="yui:name">a</span> |
|
|
322 |
<<span property="yui:type">Array</span>> |
|
|
323 |
</code> |
|
|
324 |
<span property="yui:description"> the array to search</span> |
|
|
325 |
</dd> |
|
|
326 |
<dd rel="yui:parameter"> |
|
|
327 |
<code><span property="yui:name">val</span> |
|
|
328 |
<<span property="yui:type">object</span>> |
|
|
329 |
</code> |
|
|
330 |
<span property="yui:description"> the value to search for</span> |
|
|
331 |
</dd> |
|
|
332 |
</dl> |
|
|
333 |
|
|
|
334 |
<dl> |
|
|
335 |
<dt>Returns: |
|
|
336 |
<code property="yui:return"> |
|
|
337 |
int |
|
|
338 |
</code></dt> |
|
|
339 |
<dd property="yui:returnInfo">the index of the item that contains the value or -1</dd> |
|
|
340 |
</dl> |
|
|
341 |
|
|
|
342 |
|
|
|
343 |
|
|
|
344 |
|
|
|
345 |
</div> |
|
|
346 |
|
|
|
347 |
</div> |
|
|
348 |
<hr /> |
|
|
349 |
</div> |
|
|
350 |
<div class="" rel="yui:method" resource="#method_numericSort"> |
|
|
351 |
<h4> |
|
|
352 |
<a name="method_numericSort">numericSort</a></h4> |
|
|
353 |
<div class="detail" > |
|
|
354 |
<code> |
|
|
355 |
|
|
|
356 |
|
|
|
357 |
|
|
|
358 |
void |
|
|
359 |
<strong property="yui:name">numericSort</strong> |
|
|
360 |
( |
|
|
361 |
) |
|
|
362 |
</code> |
|
|
363 |
|
|
|
364 |
<div class="description" property="yui:description"> |
|
|
365 |
Numeric sort convenience function. |
|
|
366 |
Y.ArrayAssert.itemsAreEqual([1, 2, 3], [3, 1, 2].sort(Y.Array.numericSort)); |
|
|
367 |
</div> |
|
|
368 |
|
|
|
369 |
<div class="description"> |
|
|
370 |
|
|
|
371 |
|
|
|
372 |
|
|
|
373 |
|
|
|
374 |
|
|
|
375 |
|
|
|
376 |
</div> |
|
|
377 |
|
|
|
378 |
</div> |
|
|
379 |
<hr /> |
|
|
380 |
</div> |
|
|
381 |
<div class="" rel="yui:method" resource="#method_some"> |
|
|
382 |
<h4> |
|
|
383 |
<a name="method_some">some</a></h4> |
|
|
384 |
<div class="detail" > |
|
|
385 |
<code> |
|
|
386 |
|
|
|
387 |
static |
|
|
388 |
|
|
|
389 |
boolean |
|
|
390 |
<strong property="yui:name">some</strong> |
|
|
391 |
( |
|
|
392 |
|
|
|
393 |
|
|
|
394 |
a |
|
|
395 |
|
|
|
396 |
|
|
|
397 |
, |
|
|
398 |
f |
|
|
399 |
|
|
|
400 |
|
|
|
401 |
, |
|
|
402 |
o |
|
|
403 |
|
|
|
404 |
|
|
|
405 |
) |
|
|
406 |
</code> |
|
|
407 |
|
|
|
408 |
<div class="description" property="yui:description"> |
|
|
409 |
Executes the supplied function on each item in the array. |
|
|
410 |
Returning true from the processing function will stop the |
|
|
411 |
processing of the remaining |
|
|
412 |
items. |
|
|
413 |
</div> |
|
|
414 |
|
|
|
415 |
<div class="description"> |
|
|
416 |
|
|
|
417 |
<dl rel="yui:parameters"> |
|
|
418 |
<dt>Parameters:</dt> |
|
|
419 |
<dd rel="yui:parameter"> |
|
|
420 |
<code><span property="yui:name">a</span> |
|
|
421 |
<<span property="yui:type">Array</span>> |
|
|
422 |
</code> |
|
|
423 |
<span property="yui:description"> the array to iterate</span> |
|
|
424 |
</dd> |
|
|
425 |
<dd rel="yui:parameter"> |
|
|
426 |
<code><span property="yui:name">f</span> |
|
|
427 |
<<span property="yui:type">Function</span>> |
|
|
428 |
</code> |
|
|
429 |
<span property="yui:description"> the function to execute on each item. The function |
|
|
430 |
receives three arguments: the value, the index, the full array.</span> |
|
|
431 |
</dd> |
|
|
432 |
<dd rel="yui:parameter"> |
|
|
433 |
<code><span property="yui:name">o</span> |
|
|
434 |
<<span property="yui:type">object</span>> |
|
|
435 |
</code> |
|
|
436 |
<span property="yui:description"> Optional context object</span> |
|
|
437 |
</dd> |
|
|
438 |
</dl> |
|
|
439 |
|
|
|
440 |
<dl> |
|
|
441 |
<dt>Returns: |
|
|
442 |
<code property="yui:return"> |
|
|
443 |
boolean |
|
|
444 |
</code></dt> |
|
|
445 |
<dd property="yui:returnInfo">true if the function returns true on |
|
|
446 |
any of the items in the array</dd> |
|
|
447 |
</dl> |
|
|
448 |
|
|
|
449 |
|
|
|
450 |
|
|
|
451 |
|
|
|
452 |
</div> |
|
|
453 |
|
|
|
454 |
</div> |
|
|
455 |
<hr /> |
|
|
456 |
</div> |
|
|
457 |
<div class="" rel="yui:method" resource="#method_test"> |
|
|
458 |
<h4> |
|
|
459 |
<a name="method_test">test</a></h4> |
|
|
460 |
<div class="detail" > |
|
|
461 |
<code> |
|
|
462 |
|
|
|
463 |
static |
|
|
464 |
|
|
|
465 |
int |
|
|
466 |
<strong property="yui:name">test</strong> |
|
|
467 |
( |
|
|
468 |
) |
|
|
469 |
</code> |
|
|
470 |
|
|
|
471 |
<div class="description" property="yui:description"> |
|
|
472 |
Evaluates the input to determine if it is an array, array-like, or |
|
|
473 |
something else. This is used to handle the arguments collection |
|
|
474 |
available within functions, and HTMLElement collections |
|
|
475 |
</div> |
|
|
476 |
|
|
|
477 |
<div class="description"> |
|
|
478 |
|
|
|
479 |
|
|
|
480 |
<dl> |
|
|
481 |
<dt>Returns: |
|
|
482 |
<code property="yui:return"> |
|
|
483 |
int |
|
|
484 |
</code></dt> |
|
|
485 |
<dd property="yui:returnInfo">a number indicating the results: |
|
|
486 |
0: Not an array or an array-like collection |
|
|
487 |
1: A real array. |
|
|
488 |
2: array-like collection.</dd> |
|
|
489 |
</dl> |
|
|
490 |
|
|
|
491 |
|
|
|
492 |
|
|
|
493 |
|
|
|
494 |
</div> |
|
|
495 |
|
|
|
496 |
</div> |
|
|
497 |
<hr /> |
|
|
498 |
</div> |
|
|
499 |
</div> |
|
|
500 |
</div> |
|
|
501 |
|
|
|
502 |
</div> |
|
|
503 |
|
|
|
504 |
<div rel="yui:events" resource="#events"> |
|
|
505 |
|
|
|
506 |
|
|
|
507 |
</div> |
|
|
508 |
|
|
|
509 |
<div rel="yui:attributes" resource="#configattributes"> |
|
|
510 |
|
|
|
511 |
</div> |
|
|
512 |
|
|
|
513 |
</div> |
|
|
514 |
</div> |
|
|
515 |
<div class="yui-b"> |
|
|
516 |
<div class="nav"> |
|
|
517 |
|
|
|
518 |
<div id="moduleList" class="module"> |
|
|
519 |
<h4>Modules</h4> |
|
|
520 |
<ul class="content"> |
|
|
521 |
<li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
|
522 |
<li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
|
523 |
<li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
|
524 |
<li class=""><a href="module_base.html" title="base">base</a></li> |
|
|
525 |
<li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
|
526 |
<li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
|
527 |
<li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
|
528 |
<li class=""><a href="module_console.html" title="console">console</a></li> |
|
|
529 |
<li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
|
530 |
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
|
531 |
<li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
|
532 |
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
|
533 |
<li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
|
534 |
<li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
|
535 |
<li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
|
536 |
<li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
|
537 |
<li class=""><a href="module_event.html" title="event">event</a></li> |
|
|
538 |
<li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
|
539 |
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
|
540 |
<li class=""><a href="module_history.html" title="history">history</a></li> |
|
|
541 |
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
|
542 |
<li class=""><a href="module_io.html" title="io">io</a></li> |
|
|
543 |
<li class=""><a href="module_json.html" title="json">json</a></li> |
|
|
544 |
<li class=""><a href="module_node.html" title="node">node</a></li> |
|
|
545 |
<li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
|
546 |
<li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
|
547 |
<li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
|
548 |
<li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
|
549 |
<li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
|
550 |
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
|
551 |
<li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
|
552 |
<li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
|
553 |
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
|
554 |
<li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
|
555 |
<li class=""><a href="module_test.html" title="test">test</a></li> |
|
|
556 |
<li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
|
557 |
<li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
|
558 |
<li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
|
559 |
<li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
|
560 |
<li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
|
561 |
<li class="selected"><a href="module_yui.html" title="yui">yui</a></li> |
|
|
562 |
</ul> |
|
|
563 |
</div> |
|
|
564 |
|
|
|
565 |
<div id="classList" class="module"> |
|
|
566 |
<h4>Classes</h4> |
|
|
567 |
<ul class="content"> |
|
|
568 |
<li class="selected"><a href="Array.html" title="Array">Array</a></li> |
|
|
569 |
<li class=""><a href="config.html" title="config">config</a></li> |
|
|
570 |
<li class=""><a href="Get.html" title="Get">Get</a></li> |
|
|
571 |
<li class=""><a href="Lang.html" title="Lang">Lang</a></li> |
|
|
572 |
<li class=""><a href="Object.html" title="Object">Object</a></li> |
|
|
573 |
<li class=""><a href="Queue.html" title="Queue">Queue</a></li> |
|
|
574 |
<li class=""><a href="UA.html" title="UA">UA</a></li> |
|
|
575 |
<li class=""><a href="YUI.html" title="YUI">YUI</a></li> |
|
|
576 |
</ul> |
|
|
577 |
</div> |
|
|
578 |
|
|
|
579 |
<div id="fileList" class="module"> |
|
|
580 |
<h4>Files</h4> |
|
|
581 |
<ul class="content"> |
|
|
582 |
<li class=""><a href="_module.js.html" title="_module.js">_module.js</a></li> |
|
|
583 |
<li class=""><a href="get.js.html" title="get.js">get.js</a></li> |
|
|
584 |
<li class=""><a href="queue-base.js.html" title="queue-base.js">queue-base.js</a></li> |
|
|
585 |
<li class=""><a href="yui-array.js.html" title="yui-array.js">yui-array.js</a></li> |
|
|
586 |
<li class=""><a href="yui-base.js.html" title="yui-base.js">yui-base.js</a></li> |
|
|
587 |
<li class=""><a href="yui-core.js.html" title="yui-core.js">yui-core.js</a></li> |
|
|
588 |
<li class=""><a href="yui-init.js.html" title="yui-init.js">yui-init.js</a></li> |
|
|
589 |
<li class=""><a href="yui-lang.js.html" title="yui-lang.js">yui-lang.js</a></li> |
|
|
590 |
<li class=""><a href="yui-later.js.html" title="yui-later.js">yui-later.js</a></li> |
|
|
591 |
<li class=""><a href="yui-log.js.html" title="yui-log.js">yui-log.js</a></li> |
|
|
592 |
<li class=""><a href="yui-object.js.html" title="yui-object.js">yui-object.js</a></li> |
|
|
593 |
<li class=""><a href="yui-ua.js.html" title="yui-ua.js">yui-ua.js</a></li> |
|
|
594 |
<li class=""><a href="yui.js.html" title="yui.js">yui.js</a></li> |
|
|
595 |
</ul> |
|
|
596 |
</div> |
|
|
597 |
|
|
|
598 |
|
|
|
599 |
<div id="methodsList" class="module"> |
|
|
600 |
<h4>Methods</h4> |
|
|
601 |
<ul class="content"> |
|
|
602 |
<li class=""><a href="#method_()" title="()">()</a></li> |
|
|
603 |
<li class=""><a href="#method_each" title="each">each</a></li> |
|
|
604 |
<li class=""><a href="#method_hash" title="hash">hash</a></li> |
|
|
605 |
<li class=""><a href="#method_indexOf" title="indexOf">indexOf</a></li> |
|
|
606 |
<li class=""><a href="#method_numericSort" title="numericSort">numericSort</a></li> |
|
|
607 |
<li class=""><a href="#method_some" title="some">some</a></li> |
|
|
608 |
<li class=""><a href="#method_test" title="test">test</a></li> |
|
|
609 |
</ul> |
|
|
610 |
</div> |
|
|
611 |
|
|
|
612 |
|
|
|
613 |
|
|
|
614 |
</div> |
|
|
615 |
</div> |
|
|
616 |
</div> |
|
|
617 |
<div id="ft"> |
|
|
618 |
<hr /> |
|
|
619 |
Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
|
620 |
</div> |
|
|
621 |
</div> |
|
|
622 |
<script type="text/javascript"> |
|
|
623 |
ALL_YUI_PROPS = [{"access": "", "host": "Object", "name": "()", "url": "Object.html#method_()", "type": "method"}, {"access": "", "host": "Array", "name": "()", "url": "Array.html#method_()", "type": "method"}, {"access": "", "host": "Get", "name": "abort", "url": "Get.html#method_abort", "type": "method"}, {"access": "", "host": "YUI", "name": "add", "url": "YUI.html#method_add", "type": "method"}, {"access": "", "host": "YUI", "name": "after", "url": "YUI.html#method_after", "type": "method"}, {"access": "", "host": "YUI", "name": "applyTo", "url": "YUI.html#method_applyTo", "type": "method"}, {"access": "private", "host": "Get", "name": "_autoPurge", "url": "Get.html#method__autoPurge", "type": "method"}, {"access": "", "host": "YUI", "name": "available", "url": "YUI.html#event_available", "type": "event"}, {"access": "", "host": "config", "name": "base", "url": "config.html#property_base", "type": "property"}, {"access": "", "host": "YUI", "name": "blur", "url": "YUI.html#event_blur", "type": "event"}, {"access": "", "host": "config", "name": "bootstrap", "url": "config.html#property_bootstrap", "type": "property"}, {"access": "", "host": "YUI", "name": "cached", "url": "YUI.html#method_cached", "type": "method"}, {"access": "", "host": "config", "name": "charset", "url": "config.html#property_charset", "type": "property"}, {"access": "", "host": "config", "name": "combine", "url": "config.html#property_combine", "type": "property"}, {"access": "", "host": "config", "name": "comboBase", "url": "config.html#property_comboBase", "type": "property"}, {"access": "", "host": "YUI", "name": "contentready", "url": "YUI.html#event_contentready", "type": "event"}, {"access": "", "host": "config", "name": "core", "url": "config.html#property_core", "type": "property"}, {"access": "", "host": "Get", "name": "css", "url": "Get.html#method_css", "type": "method"}, {"access": "", "host": "config", "name": "cssAttributes", "url": "config.html#property_cssAttributes", "type": "property"}, {"access": "", "host": "config", "name": "dateFormat", "url": "config.html#property_dateFormat", "type": "property"}, {"access": "", "host": "YUI", "name": "delegate", "url": "YUI.html#method_delegate", "type": "method"}, {"access": "", "host": "YUI", "name": "delegate", "url": "YUI.html#event_delegate", "type": "event"}, {"access": "", "host": "config", "name": "doc", "url": "config.html#property_doc", "type": "property"}, {"access": "", "host": "Object", "name": "each", "url": "Object.html#method_each", "type": "method"}, {"access": "", "host": "Array", "name": "each", "url": "Array.html#method_each", "type": "method"}, {"access": "private", "host": "Get", "name": "_end", "url": "Get.html#method__end", "type": "method"}, {"access": "", "host": "YUI", "name": "error", "url": "YUI.html#method_error", "type": "method"}, {"access": "private", "host": "Object", "name": "_extract", "url": "Object.html#method__extract", "type": "method"}, {"access": "", "host": "config", "name": "fetchCSS", "url": "config.html#property_fetchCSS", "type": "property"}, {"access": "", "host": "config", "name": "filter", "url": "config.html#property_filter", "type": "property"}, {"access": "", "host": "config", "name": "filters", "url": "config.html#property_filters", "type": "property"}, {"access": "private", "host": "Get", "name": "_finalize", "url": "Get.html#method__finalize", "type": "method"}, {"access": "private", "host": "Get", "name": "_finish", "url": "Get.html#method__finish", "type": "method"}, {"access": "", "host": "YUI", "name": "focus", "url": "YUI.html#event_focus", "type": "event"}, {"access": "", "host": "config", "name": "force", "url": "config.html#property_force", "type": "property"}, {"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": "Array", "name": "hash", "url": "Array.html#method_hash", "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": "", "host": "config", "name": "ignore", "url": "config.html#property_ignore", "type": "property"}, {"access": "", "host": "Array", "name": "indexOf", "url": "Array.html#method_indexOf", "type": "method"}, {"access": "private", "host": "YUI", "name": "_init", "url": "YUI.html#method__init", "type": "method"}, {"access": "", "host": "config", "name": "injected", "url": "config.html#property_injected", "type": "property"}, {"access": "", "host": "config", "name": "insertBefore", "url": "config.html#property_insertBefore", "type": "property"}, {"access": "", "host": "config", "name": "jsAttributes", "url": "config.html#property_jsAttributes", "type": "property"}, {"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": "private", "host": "Get", "name": "_linkNode", "url": "Get.html#method__linkNode", "type": "method"}, {"access": "", "host": "config", "name": "loaderPath", "url": "config.html#property_loaderPath", "type": "property"}, {"access": "", "host": "config", "name": "locale", "url": "config.html#property_locale", "type": "property"}, {"access": "", "host": "YUI", "name": "log", "url": "YUI.html#method_log", "type": "method"}, {"access": "", "host": "config", "name": "logExclude", "url": "config.html#property_logExclude", "type": "property"}, {"access": "", "host": "config", "name": "logInclude", "url": "config.html#property_logInclude", "type": "property"}, {"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": "config", "name": "modules", "url": "config.html#property_modules", "type": "property"}, {"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": "mousewheel", "url": "YUI.html#event_mousewheel", "type": "event"}, {"access": "", "host": "YUI", "name": "namespace", "url": "YUI.html#method_namespace", "type": "method"}, {"access": "private", "host": "Get", "name": "_next", "url": "Get.html#method__next", "type": "method"}, {"access": "private", "host": "Get", "name": "_node", "url": "Get.html#method__node", "type": "method"}, {"access": "", "host": "YUI", "name": "Node.plug", "url": "YUI.html#method_Node.plug", "type": "method"}, {"access": "", "host": "YUI", "name": "Node.unplug", "url": "YUI.html#method_Node.unplug", "type": "method"}, {"access": "", "host": "Array", "name": "numericSort", "url": "Array.html#method_numericSort", "type": "method"}, {"access": "", "host": "YUI", "name": "on", "url": "YUI.html#method_on", "type": "method"}, {"access": "", "host": "config", "name": "onCSS", "url": "config.html#property_onCSS", "type": "property"}, {"access": "", "host": "Object", "name": "owns", "url": "Object.html#method_owns", "type": "method"}, {"access": "", "host": "config", "name": "pollInterval", "url": "config.html#property_pollInterval", "type": "property"}, {"access": "private", "host": "Get", "name": "_purge", "url": "Get.html#method__purge", "type": "method"}, {"access": "private", "host": "Get", "name": "PURGE_THRESH", "url": "Get.html#property_PURGE_THRESH", "type": "property"}, {"access": "", "host": "config", "name": "purgethreshold", "url": "config.html#property_purgethreshold", "type": "property"}, {"access": "private", "host": "Get", "name": "purging", "url": "Get.html#property_purging", "type": "property"}, {"access": "private", "host": "Get", "name": "qidx", "url": "Get.html#property_qidx", "type": "property"}, {"access": "private", "host": "Get", "name": "queue", "url": "Get.html#method_queue", "type": "method"}, {"access": "private", "host": "Get", "name": "queues", "url": "Get.html#property_queues", "type": "property"}, {"access": "private", "host": "Get", "name": "_returnData", "url": "Get.html#method__returnData", "type": "method"}, {"access": "", "host": "config", "name": "root", "url": "config.html#property_root", "type": "property"}, {"access": "", "host": "Get", "name": "script", "url": "Get.html#method_script", "type": "method"}, {"access": "private", "host": "Get", "name": "_scriptNode", "url": "Get.html#method__scriptNode", "type": "method"}, {"access": "", "host": "config", "name": "secureBase", "url": "config.html#property_secureBase", "type": "property"}, {"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": "Array", "name": "some", "url": "Array.html#method_some", "type": "method"}, {"access": "", "host": "YUI", "name": "stamp", "url": "YUI.html#method_stamp", "type": "method"}, {"access": "", "host": "Array", "name": "test", "url": "Array.html#method_test", "type": "method"}, {"access": "", "host": "config", "name": "throwFail", "url": "config.html#property_throwFail", "type": "property"}, {"access": "", "host": "config", "name": "timeout", "url": "config.html#property_timeout", "type": "property"}, {"access": "private", "host": "Get", "name": "_timeout", "url": "Get.html#method__timeout", "type": "method"}, {"access": "private", "host": "Get", "name": "_track", "url": "Get.html#method__track", "type": "method"}, {"access": "", "host": "YUI", "name": "use", "url": "YUI.html#method_use", "type": "method"}, {"access": "", "host": "config", "name": "useBrowserConsole", "url": "config.html#property_useBrowserConsole", "type": "property"}, {"access": "", "host": "Object", "name": "values", "url": "Object.html#method_values", "type": "method"}, {"access": "", "host": "config", "name": "win", "url": "config.html#property_win", "type": "property"}, {"access": "", "host": "YUI", "name": "windowresize", "url": "YUI.html#event_windowresize", "type": "event"}, {"access": "", "host": "config", "name": "windowResizeDelay", "url": "config.html#property_windowResizeDelay", "type": "property"}]; |
|
|
624 |
</script> |
|
|
625 |
</body> |
|
|
626 |
</html> |