|
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 Get (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 |
> Get |
|
|
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 |
<code>static</code> |
|
|
50 |
|
|
|
51 |
Class <b property="yui:name">Get</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 |
Fetches and inserts one or more script or link nodes into the document |
|
|
63 |
</div> |
|
|
64 |
|
|
|
65 |
|
|
|
66 |
<div rel="yui:properties" resource="#properties"> |
|
|
67 |
<div class="section field details"> |
|
|
68 |
<h3 id="properties">Properties</h3> |
|
|
69 |
<div class="content"> |
|
|
70 |
<div class="private" rel="yui:property" resource="#property_PURGE_THRESH"> |
|
|
71 |
<h4><a name="property_PURGE_THRESH" property="yui:name">PURGE_THRESH</a> |
|
|
72 |
- <code>private static <span property="yui:type">int</span></code> |
|
|
73 |
</h4> |
|
|
74 |
<div class="detail"> |
|
|
75 |
<div class="description" property="yui:description"> |
|
|
76 |
The number of request required before an automatic purge. |
|
|
77 |
Can be configured via the 'purgethreshold' config |
|
|
78 |
property PURGE_THRESH |
|
|
79 |
</div> |
|
|
80 |
</div> |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
<div class="default" property="yui:defaultValue"> |
|
|
84 |
Default Value: 20 |
|
|
85 |
</div> |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
<hr /> |
|
|
89 |
</div> |
|
|
90 |
<div class="private" rel="yui:property" resource="#property_purging"> |
|
|
91 |
<h4><a name="property_purging" property="yui:name">purging</a> |
|
|
92 |
- <code>private <span property="yui:type">boolean</span></code> |
|
|
93 |
</h4> |
|
|
94 |
<div class="detail"> |
|
|
95 |
<div class="description" property="yui:description"> |
|
|
96 |
interal property used to prevent multiple simultaneous purge |
|
|
97 |
processes |
|
|
98 |
</div> |
|
|
99 |
</div> |
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
<hr /> |
|
|
105 |
</div> |
|
|
106 |
<div class="private" rel="yui:property" resource="#property_qidx"> |
|
|
107 |
<h4><a name="property_qidx" property="yui:name">qidx</a> |
|
|
108 |
- <code>private <span property="yui:type">int</span></code> |
|
|
109 |
</h4> |
|
|
110 |
<div class="detail"> |
|
|
111 |
<div class="description" property="yui:description"> |
|
|
112 |
queue index used to generate transaction ids |
|
|
113 |
</div> |
|
|
114 |
</div> |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
<hr /> |
|
|
120 |
</div> |
|
|
121 |
<div class="private" rel="yui:property" resource="#property_queues"> |
|
|
122 |
<h4><a name="property_queues" property="yui:name">queues</a> |
|
|
123 |
- <code>private <span property="yui:type">object</span></code> |
|
|
124 |
</h4> |
|
|
125 |
<div class="detail"> |
|
|
126 |
<div class="description" property="yui:description"> |
|
|
127 |
hash of queues to manage multiple requests |
|
|
128 |
</div> |
|
|
129 |
</div> |
|
|
130 |
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
<hr /> |
|
|
135 |
</div> |
|
|
136 |
</div> |
|
|
137 |
</div> |
|
|
138 |
|
|
|
139 |
</div> |
|
|
140 |
|
|
|
141 |
<div rel="yui:methods" resource="#methods"> |
|
|
142 |
<div class="section method details"> |
|
|
143 |
<h3 id="methods">Methods</h3> |
|
|
144 |
<div class="content"> |
|
|
145 |
<div class="private" rel="yui:method" resource="#method__autoPurge"> |
|
|
146 |
<h4> |
|
|
147 |
<a name="method__autoPurge">_autoPurge</a></h4> |
|
|
148 |
<div class="detail" > |
|
|
149 |
<code> |
|
|
150 |
private |
|
|
151 |
|
|
|
152 |
|
|
|
153 |
void |
|
|
154 |
<strong property="yui:name">_autoPurge</strong> |
|
|
155 |
( |
|
|
156 |
) |
|
|
157 |
</code> |
|
|
158 |
|
|
|
159 |
<div class="description" property="yui:description"> |
|
|
160 |
Removes processed queues and corresponding nodes |
|
|
161 |
</div> |
|
|
162 |
|
|
|
163 |
<div class="description"> |
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
</div> |
|
|
171 |
|
|
|
172 |
</div> |
|
|
173 |
<hr /> |
|
|
174 |
</div> |
|
|
175 |
<div class="private" rel="yui:method" resource="#method__end"> |
|
|
176 |
<h4> |
|
|
177 |
<a name="method__end">_end</a></h4> |
|
|
178 |
<div class="detail" > |
|
|
179 |
<code> |
|
|
180 |
private |
|
|
181 |
|
|
|
182 |
|
|
|
183 |
void |
|
|
184 |
<strong property="yui:name">_end</strong> |
|
|
185 |
( |
|
|
186 |
|
|
|
187 |
|
|
|
188 |
id |
|
|
189 |
|
|
|
190 |
|
|
|
191 |
) |
|
|
192 |
</code> |
|
|
193 |
|
|
|
194 |
<div class="description" property="yui:description"> |
|
|
195 |
The transaction is finished |
|
|
196 |
</div> |
|
|
197 |
|
|
|
198 |
<div class="description"> |
|
|
199 |
|
|
|
200 |
<dl rel="yui:parameters"> |
|
|
201 |
<dt>Parameters:</dt> |
|
|
202 |
<dd rel="yui:parameter"> |
|
|
203 |
<code><span property="yui:name">id</span> |
|
|
204 |
<<span property="yui:type">string</span>> |
|
|
205 |
</code> |
|
|
206 |
<span property="yui:description"> the id of the request</span> |
|
|
207 |
</dd> |
|
|
208 |
</dl> |
|
|
209 |
|
|
|
210 |
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
|
|
|
214 |
</div> |
|
|
215 |
|
|
|
216 |
</div> |
|
|
217 |
<hr /> |
|
|
218 |
</div> |
|
|
219 |
<div class="private" rel="yui:method" resource="#method__finalize"> |
|
|
220 |
<h4> |
|
|
221 |
<a name="method__finalize">_finalize</a></h4> |
|
|
222 |
<div class="detail" > |
|
|
223 |
<code> |
|
|
224 |
private |
|
|
225 |
static |
|
|
226 |
|
|
|
227 |
void |
|
|
228 |
<strong property="yui:name">_finalize</strong> |
|
|
229 |
( |
|
|
230 |
|
|
|
231 |
|
|
|
232 |
id |
|
|
233 |
|
|
|
234 |
|
|
|
235 |
) |
|
|
236 |
</code> |
|
|
237 |
|
|
|
238 |
<div class="description" property="yui:description"> |
|
|
239 |
Called by the the helper for detecting script load in Safari |
|
|
240 |
</div> |
|
|
241 |
|
|
|
242 |
<div class="description"> |
|
|
243 |
|
|
|
244 |
<dl rel="yui:parameters"> |
|
|
245 |
<dt>Parameters:</dt> |
|
|
246 |
<dd rel="yui:parameter"> |
|
|
247 |
<code><span property="yui:name">id</span> |
|
|
248 |
<<span property="yui:type">string</span>> |
|
|
249 |
</code> |
|
|
250 |
<span property="yui:description"> the transaction id</span> |
|
|
251 |
</dd> |
|
|
252 |
</dl> |
|
|
253 |
|
|
|
254 |
|
|
|
255 |
|
|
|
256 |
|
|
|
257 |
|
|
|
258 |
</div> |
|
|
259 |
|
|
|
260 |
</div> |
|
|
261 |
<hr /> |
|
|
262 |
</div> |
|
|
263 |
<div class="private" rel="yui:method" resource="#method__finish"> |
|
|
264 |
<h4> |
|
|
265 |
<a name="method__finish">_finish</a></h4> |
|
|
266 |
<div class="detail" > |
|
|
267 |
<code> |
|
|
268 |
private |
|
|
269 |
|
|
|
270 |
|
|
|
271 |
void |
|
|
272 |
<strong property="yui:name">_finish</strong> |
|
|
273 |
( |
|
|
274 |
|
|
|
275 |
|
|
|
276 |
id |
|
|
277 |
|
|
|
278 |
|
|
|
279 |
) |
|
|
280 |
</code> |
|
|
281 |
|
|
|
282 |
<div class="description" property="yui:description"> |
|
|
283 |
The request is complete, so executing the requester's callback |
|
|
284 |
</div> |
|
|
285 |
|
|
|
286 |
<div class="description"> |
|
|
287 |
|
|
|
288 |
<dl rel="yui:parameters"> |
|
|
289 |
<dt>Parameters:</dt> |
|
|
290 |
<dd rel="yui:parameter"> |
|
|
291 |
<code><span property="yui:name">id</span> |
|
|
292 |
<<span property="yui:type">string</span>> |
|
|
293 |
</code> |
|
|
294 |
<span property="yui:description"> the id of the request</span> |
|
|
295 |
</dd> |
|
|
296 |
</dl> |
|
|
297 |
|
|
|
298 |
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
|
|
|
302 |
</div> |
|
|
303 |
|
|
|
304 |
</div> |
|
|
305 |
<hr /> |
|
|
306 |
</div> |
|
|
307 |
<div class="private" rel="yui:method" resource="#method__linkNode"> |
|
|
308 |
<h4> |
|
|
309 |
<a name="method__linkNode">_linkNode</a></h4> |
|
|
310 |
<div class="detail" > |
|
|
311 |
<code> |
|
|
312 |
private |
|
|
313 |
|
|
|
314 |
|
|
|
315 |
HTMLElement |
|
|
316 |
<strong property="yui:name">_linkNode</strong> |
|
|
317 |
( |
|
|
318 |
|
|
|
319 |
|
|
|
320 |
url |
|
|
321 |
|
|
|
322 |
|
|
|
323 |
, |
|
|
324 |
win |
|
|
325 |
|
|
|
326 |
|
|
|
327 |
, |
|
|
328 |
attributes |
|
|
329 |
|
|
|
330 |
|
|
|
331 |
) |
|
|
332 |
</code> |
|
|
333 |
|
|
|
334 |
<div class="description" property="yui:description"> |
|
|
335 |
Generates a link node |
|
|
336 |
</div> |
|
|
337 |
|
|
|
338 |
<div class="description"> |
|
|
339 |
|
|
|
340 |
<dl rel="yui:parameters"> |
|
|
341 |
<dt>Parameters:</dt> |
|
|
342 |
<dd rel="yui:parameter"> |
|
|
343 |
<code><span property="yui:name">url</span> |
|
|
344 |
<<span property="yui:type">string</span>> |
|
|
345 |
</code> |
|
|
346 |
<span property="yui:description"> the url for the css file</span> |
|
|
347 |
</dd> |
|
|
348 |
<dd rel="yui:parameter"> |
|
|
349 |
<code><span property="yui:name">win</span> |
|
|
350 |
<<span property="yui:type">Window</span>> |
|
|
351 |
</code> |
|
|
352 |
<span property="yui:description"> optional window to create the node in</span> |
|
|
353 |
</dd> |
|
|
354 |
<dd rel="yui:parameter"> |
|
|
355 |
<code><span property="yui:name">attributes</span> |
|
|
356 |
<<span property="yui:type">object</span>> |
|
|
357 |
</code> |
|
|
358 |
<span property="yui:description"> optional attributes collection to apply to the new node</span> |
|
|
359 |
</dd> |
|
|
360 |
</dl> |
|
|
361 |
|
|
|
362 |
<dl> |
|
|
363 |
<dt>Returns: |
|
|
364 |
<code property="yui:return"> |
|
|
365 |
HTMLElement |
|
|
366 |
</code></dt> |
|
|
367 |
<dd property="yui:returnInfo">the generated node</dd> |
|
|
368 |
</dl> |
|
|
369 |
|
|
|
370 |
|
|
|
371 |
|
|
|
372 |
|
|
|
373 |
</div> |
|
|
374 |
|
|
|
375 |
</div> |
|
|
376 |
<hr /> |
|
|
377 |
</div> |
|
|
378 |
<div class="private" rel="yui:method" resource="#method__next"> |
|
|
379 |
<h4> |
|
|
380 |
<a name="method__next">_next</a></h4> |
|
|
381 |
<div class="detail" > |
|
|
382 |
<code> |
|
|
383 |
private |
|
|
384 |
|
|
|
385 |
|
|
|
386 |
void |
|
|
387 |
<strong property="yui:name">_next</strong> |
|
|
388 |
( |
|
|
389 |
|
|
|
390 |
|
|
|
391 |
id |
|
|
392 |
|
|
|
393 |
|
|
|
394 |
, |
|
|
395 |
loaded |
|
|
396 |
|
|
|
397 |
|
|
|
398 |
) |
|
|
399 |
</code> |
|
|
400 |
|
|
|
401 |
<div class="description" property="yui:description"> |
|
|
402 |
Loads the next item for a given request |
|
|
403 |
</div> |
|
|
404 |
|
|
|
405 |
<div class="description"> |
|
|
406 |
|
|
|
407 |
<dl rel="yui:parameters"> |
|
|
408 |
<dt>Parameters:</dt> |
|
|
409 |
<dd rel="yui:parameter"> |
|
|
410 |
<code><span property="yui:name">id</span> |
|
|
411 |
<<span property="yui:type">string</span>> |
|
|
412 |
</code> |
|
|
413 |
<span property="yui:description"> the id of the request</span> |
|
|
414 |
</dd> |
|
|
415 |
<dd rel="yui:parameter"> |
|
|
416 |
<code><span property="yui:name">loaded</span> |
|
|
417 |
<<span property="yui:type">string</span>> |
|
|
418 |
</code> |
|
|
419 |
<span property="yui:description"> the url that was just loaded, if any</span> |
|
|
420 |
</dd> |
|
|
421 |
</dl> |
|
|
422 |
|
|
|
423 |
|
|
|
424 |
|
|
|
425 |
|
|
|
426 |
|
|
|
427 |
</div> |
|
|
428 |
|
|
|
429 |
</div> |
|
|
430 |
<hr /> |
|
|
431 |
</div> |
|
|
432 |
<div class="private" rel="yui:method" resource="#method__node"> |
|
|
433 |
<h4> |
|
|
434 |
<a name="method__node">_node</a></h4> |
|
|
435 |
<div class="detail" > |
|
|
436 |
<code> |
|
|
437 |
private |
|
|
438 |
|
|
|
439 |
|
|
|
440 |
HTMLElement |
|
|
441 |
<strong property="yui:name">_node</strong> |
|
|
442 |
( |
|
|
443 |
|
|
|
444 |
|
|
|
445 |
type |
|
|
446 |
|
|
|
447 |
|
|
|
448 |
, |
|
|
449 |
attr |
|
|
450 |
|
|
|
451 |
|
|
|
452 |
, |
|
|
453 |
win |
|
|
454 |
|
|
|
455 |
|
|
|
456 |
) |
|
|
457 |
</code> |
|
|
458 |
|
|
|
459 |
<div class="description" property="yui:description"> |
|
|
460 |
Generates an HTML element, this is not appended to a document |
|
|
461 |
</div> |
|
|
462 |
|
|
|
463 |
<div class="description"> |
|
|
464 |
|
|
|
465 |
<dl rel="yui:parameters"> |
|
|
466 |
<dt>Parameters:</dt> |
|
|
467 |
<dd rel="yui:parameter"> |
|
|
468 |
<code><span property="yui:name">type</span> |
|
|
469 |
<<span property="yui:type">string</span>> |
|
|
470 |
</code> |
|
|
471 |
<span property="yui:description"> the type of element</span> |
|
|
472 |
</dd> |
|
|
473 |
<dd rel="yui:parameter"> |
|
|
474 |
<code><span property="yui:name">attr</span> |
|
|
475 |
<<span property="yui:type">string</span>> |
|
|
476 |
</code> |
|
|
477 |
<span property="yui:description"> the attributes</span> |
|
|
478 |
</dd> |
|
|
479 |
<dd rel="yui:parameter"> |
|
|
480 |
<code><span property="yui:name">win</span> |
|
|
481 |
<<span property="yui:type">Window</span>> |
|
|
482 |
</code> |
|
|
483 |
<span property="yui:description"> optional window to create the element in</span> |
|
|
484 |
</dd> |
|
|
485 |
</dl> |
|
|
486 |
|
|
|
487 |
<dl> |
|
|
488 |
<dt>Returns: |
|
|
489 |
<code property="yui:return"> |
|
|
490 |
HTMLElement |
|
|
491 |
</code></dt> |
|
|
492 |
<dd property="yui:returnInfo">the generated node</dd> |
|
|
493 |
</dl> |
|
|
494 |
|
|
|
495 |
|
|
|
496 |
|
|
|
497 |
|
|
|
498 |
</div> |
|
|
499 |
|
|
|
500 |
</div> |
|
|
501 |
<hr /> |
|
|
502 |
</div> |
|
|
503 |
<div class="private" rel="yui:method" resource="#method__purge"> |
|
|
504 |
<h4> |
|
|
505 |
<a name="method__purge">_purge</a></h4> |
|
|
506 |
<div class="detail" > |
|
|
507 |
<code> |
|
|
508 |
private |
|
|
509 |
|
|
|
510 |
|
|
|
511 |
void |
|
|
512 |
<strong property="yui:name">_purge</strong> |
|
|
513 |
( |
|
|
514 |
) |
|
|
515 |
</code> |
|
|
516 |
|
|
|
517 |
<div class="description" property="yui:description"> |
|
|
518 |
Removes the nodes for the specified queue |
|
|
519 |
</div> |
|
|
520 |
|
|
|
521 |
<div class="description"> |
|
|
522 |
|
|
|
523 |
|
|
|
524 |
|
|
|
525 |
|
|
|
526 |
|
|
|
527 |
|
|
|
528 |
</div> |
|
|
529 |
|
|
|
530 |
</div> |
|
|
531 |
<hr /> |
|
|
532 |
</div> |
|
|
533 |
<div class="private" rel="yui:method" resource="#method__returnData"> |
|
|
534 |
<h4> |
|
|
535 |
<a name="method__returnData">_returnData</a></h4> |
|
|
536 |
<div class="detail" > |
|
|
537 |
<code> |
|
|
538 |
private |
|
|
539 |
|
|
|
540 |
|
|
|
541 |
void |
|
|
542 |
<strong property="yui:name">_returnData</strong> |
|
|
543 |
( |
|
|
544 |
) |
|
|
545 |
</code> |
|
|
546 |
|
|
|
547 |
<div class="description" property="yui:description"> |
|
|
548 |
Returns the data payload for callback functions |
|
|
549 |
</div> |
|
|
550 |
|
|
|
551 |
<div class="description"> |
|
|
552 |
|
|
|
553 |
|
|
|
554 |
|
|
|
555 |
|
|
|
556 |
|
|
|
557 |
|
|
|
558 |
</div> |
|
|
559 |
|
|
|
560 |
</div> |
|
|
561 |
<hr /> |
|
|
562 |
</div> |
|
|
563 |
<div class="private" rel="yui:method" resource="#method__scriptNode"> |
|
|
564 |
<h4> |
|
|
565 |
<a name="method__scriptNode">_scriptNode</a></h4> |
|
|
566 |
<div class="detail" > |
|
|
567 |
<code> |
|
|
568 |
private |
|
|
569 |
|
|
|
570 |
|
|
|
571 |
HTMLElement |
|
|
572 |
<strong property="yui:name">_scriptNode</strong> |
|
|
573 |
( |
|
|
574 |
|
|
|
575 |
|
|
|
576 |
url |
|
|
577 |
|
|
|
578 |
|
|
|
579 |
, |
|
|
580 |
win |
|
|
581 |
|
|
|
582 |
|
|
|
583 |
, |
|
|
584 |
attributes |
|
|
585 |
|
|
|
586 |
|
|
|
587 |
) |
|
|
588 |
</code> |
|
|
589 |
|
|
|
590 |
<div class="description" property="yui:description"> |
|
|
591 |
Generates a script node |
|
|
592 |
</div> |
|
|
593 |
|
|
|
594 |
<div class="description"> |
|
|
595 |
|
|
|
596 |
<dl rel="yui:parameters"> |
|
|
597 |
<dt>Parameters:</dt> |
|
|
598 |
<dd rel="yui:parameter"> |
|
|
599 |
<code><span property="yui:name">url</span> |
|
|
600 |
<<span property="yui:type">string</span>> |
|
|
601 |
</code> |
|
|
602 |
<span property="yui:description"> the url for the script file</span> |
|
|
603 |
</dd> |
|
|
604 |
<dd rel="yui:parameter"> |
|
|
605 |
<code><span property="yui:name">win</span> |
|
|
606 |
<<span property="yui:type">Window</span>> |
|
|
607 |
</code> |
|
|
608 |
<span property="yui:description"> optional window to create the node in</span> |
|
|
609 |
</dd> |
|
|
610 |
<dd rel="yui:parameter"> |
|
|
611 |
<code><span property="yui:name">attributes</span> |
|
|
612 |
<<span property="yui:type">object</span>> |
|
|
613 |
</code> |
|
|
614 |
<span property="yui:description"> optional attributes collection to apply to the new node</span> |
|
|
615 |
</dd> |
|
|
616 |
</dl> |
|
|
617 |
|
|
|
618 |
<dl> |
|
|
619 |
<dt>Returns: |
|
|
620 |
<code property="yui:return"> |
|
|
621 |
HTMLElement |
|
|
622 |
</code></dt> |
|
|
623 |
<dd property="yui:returnInfo">the generated node</dd> |
|
|
624 |
</dl> |
|
|
625 |
|
|
|
626 |
|
|
|
627 |
|
|
|
628 |
|
|
|
629 |
</div> |
|
|
630 |
|
|
|
631 |
</div> |
|
|
632 |
<hr /> |
|
|
633 |
</div> |
|
|
634 |
<div class="private" rel="yui:method" resource="#method__timeout"> |
|
|
635 |
<h4> |
|
|
636 |
<a name="method__timeout">_timeout</a></h4> |
|
|
637 |
<div class="detail" > |
|
|
638 |
<code> |
|
|
639 |
private |
|
|
640 |
|
|
|
641 |
|
|
|
642 |
void |
|
|
643 |
<strong property="yui:name">_timeout</strong> |
|
|
644 |
( |
|
|
645 |
|
|
|
646 |
|
|
|
647 |
id |
|
|
648 |
|
|
|
649 |
|
|
|
650 |
) |
|
|
651 |
</code> |
|
|
652 |
|
|
|
653 |
<div class="description" property="yui:description"> |
|
|
654 |
Timeout detected |
|
|
655 |
</div> |
|
|
656 |
|
|
|
657 |
<div class="description"> |
|
|
658 |
|
|
|
659 |
<dl rel="yui:parameters"> |
|
|
660 |
<dt>Parameters:</dt> |
|
|
661 |
<dd rel="yui:parameter"> |
|
|
662 |
<code><span property="yui:name">id</span> |
|
|
663 |
<<span property="yui:type">string</span>> |
|
|
664 |
</code> |
|
|
665 |
<span property="yui:description"> the id of the request</span> |
|
|
666 |
</dd> |
|
|
667 |
</dl> |
|
|
668 |
|
|
|
669 |
|
|
|
670 |
|
|
|
671 |
|
|
|
672 |
|
|
|
673 |
</div> |
|
|
674 |
|
|
|
675 |
</div> |
|
|
676 |
<hr /> |
|
|
677 |
</div> |
|
|
678 |
<div class="private" rel="yui:method" resource="#method__track"> |
|
|
679 |
<h4> |
|
|
680 |
<a name="method__track">_track</a></h4> |
|
|
681 |
<div class="detail" > |
|
|
682 |
<code> |
|
|
683 |
private |
|
|
684 |
|
|
|
685 |
|
|
|
686 |
void |
|
|
687 |
<strong property="yui:name">_track</strong> |
|
|
688 |
( |
|
|
689 |
|
|
|
690 |
|
|
|
691 |
type |
|
|
692 |
|
|
|
693 |
|
|
|
694 |
, |
|
|
695 |
n |
|
|
696 |
|
|
|
697 |
|
|
|
698 |
, |
|
|
699 |
id |
|
|
700 |
|
|
|
701 |
|
|
|
702 |
, |
|
|
703 |
url |
|
|
704 |
|
|
|
705 |
|
|
|
706 |
, |
|
|
707 |
win |
|
|
708 |
|
|
|
709 |
|
|
|
710 |
, |
|
|
711 |
qlength |
|
|
712 |
|
|
|
713 |
|
|
|
714 |
, |
|
|
715 |
trackfn |
|
|
716 |
|
|
|
717 |
|
|
|
718 |
) |
|
|
719 |
</code> |
|
|
720 |
|
|
|
721 |
<div class="description" property="yui:description"> |
|
|
722 |
Detects when a node has been loaded. In the case of |
|
|
723 |
script nodes, this does not guarantee that contained |
|
|
724 |
script is ready to use. |
|
|
725 |
</div> |
|
|
726 |
|
|
|
727 |
<div class="description"> |
|
|
728 |
|
|
|
729 |
<dl rel="yui:parameters"> |
|
|
730 |
<dt>Parameters:</dt> |
|
|
731 |
<dd rel="yui:parameter"> |
|
|
732 |
<code><span property="yui:name">type</span> |
|
|
733 |
<<span property="yui:type">string</span>> |
|
|
734 |
</code> |
|
|
735 |
<span property="yui:description"> the type of node to track</span> |
|
|
736 |
</dd> |
|
|
737 |
<dd rel="yui:parameter"> |
|
|
738 |
<code><span property="yui:name">n</span> |
|
|
739 |
<<span property="yui:type">HTMLElement</span>> |
|
|
740 |
</code> |
|
|
741 |
<span property="yui:description"> the node to track</span> |
|
|
742 |
</dd> |
|
|
743 |
<dd rel="yui:parameter"> |
|
|
744 |
<code><span property="yui:name">id</span> |
|
|
745 |
<<span property="yui:type">string</span>> |
|
|
746 |
</code> |
|
|
747 |
<span property="yui:description"> the id of the request</span> |
|
|
748 |
</dd> |
|
|
749 |
<dd rel="yui:parameter"> |
|
|
750 |
<code><span property="yui:name">url</span> |
|
|
751 |
<<span property="yui:type">string</span>> |
|
|
752 |
</code> |
|
|
753 |
<span property="yui:description"> the url that is being loaded</span> |
|
|
754 |
</dd> |
|
|
755 |
<dd rel="yui:parameter"> |
|
|
756 |
<code><span property="yui:name">win</span> |
|
|
757 |
<<span property="yui:type">Window</span>> |
|
|
758 |
</code> |
|
|
759 |
<span property="yui:description"> the targeted window</span> |
|
|
760 |
</dd> |
|
|
761 |
<dd rel="yui:parameter"> |
|
|
762 |
<code><span property="yui:name">qlength</span> |
|
|
763 |
<<span property="yui:type">object</span>> |
|
|
764 |
</code> |
|
|
765 |
<span property="yui:description"> the number of remaining items in the queue, |
|
|
766 |
including this one</span> |
|
|
767 |
</dd> |
|
|
768 |
<dd rel="yui:parameter"> |
|
|
769 |
<code><span property="yui:name">trackfn</span> |
|
|
770 |
<<span property="yui:type">Function</span>> |
|
|
771 |
</code> |
|
|
772 |
<span property="yui:description"> function to execute when finished |
|
|
773 |
the default is _next</span> |
|
|
774 |
</dd> |
|
|
775 |
</dl> |
|
|
776 |
|
|
|
777 |
|
|
|
778 |
|
|
|
779 |
|
|
|
780 |
|
|
|
781 |
</div> |
|
|
782 |
|
|
|
783 |
</div> |
|
|
784 |
<hr /> |
|
|
785 |
</div> |
|
|
786 |
<div class="" rel="yui:method" resource="#method_abort"> |
|
|
787 |
<h4> |
|
|
788 |
<a name="method_abort">abort</a></h4> |
|
|
789 |
<div class="detail" > |
|
|
790 |
<code> |
|
|
791 |
|
|
|
792 |
static |
|
|
793 |
|
|
|
794 |
void |
|
|
795 |
<strong property="yui:name">abort</strong> |
|
|
796 |
( |
|
|
797 |
|
|
|
798 |
|
|
|
799 |
o |
|
|
800 |
|
|
|
801 |
|
|
|
802 |
) |
|
|
803 |
</code> |
|
|
804 |
|
|
|
805 |
<div class="description" property="yui:description"> |
|
|
806 |
Abort a transaction |
|
|
807 |
</div> |
|
|
808 |
|
|
|
809 |
<div class="description"> |
|
|
810 |
|
|
|
811 |
<dl rel="yui:parameters"> |
|
|
812 |
<dt>Parameters:</dt> |
|
|
813 |
<dd rel="yui:parameter"> |
|
|
814 |
<code><span property="yui:name">o</span> |
|
|
815 |
<<span property="yui:type">string|object</span>> |
|
|
816 |
</code> |
|
|
817 |
<span property="yui:description"> Either the tId or the object returned from |
|
|
818 |
script() or css()</span> |
|
|
819 |
</dd> |
|
|
820 |
</dl> |
|
|
821 |
|
|
|
822 |
|
|
|
823 |
|
|
|
824 |
|
|
|
825 |
|
|
|
826 |
</div> |
|
|
827 |
|
|
|
828 |
</div> |
|
|
829 |
<hr /> |
|
|
830 |
</div> |
|
|
831 |
<div class="" rel="yui:method" resource="#method_css"> |
|
|
832 |
<h4> |
|
|
833 |
<a name="method_css">css</a></h4> |
|
|
834 |
<div class="detail" > |
|
|
835 |
<code> |
|
|
836 |
|
|
|
837 |
static |
|
|
838 |
|
|
|
839 |
tId: string |
|
|
840 |
<strong property="yui:name">css</strong> |
|
|
841 |
( |
|
|
842 |
|
|
|
843 |
|
|
|
844 |
url |
|
|
845 |
|
|
|
846 |
|
|
|
847 |
, |
|
|
848 |
opts |
|
|
849 |
|
|
|
850 |
|
|
|
851 |
) |
|
|
852 |
</code> |
|
|
853 |
|
|
|
854 |
<div class="description" property="yui:description"> |
|
|
855 |
Fetches and inserts one or more css link nodes into the |
|
|
856 |
head of the current document or the document in a specified |
|
|
857 |
window. |
|
|
858 |
</div> |
|
|
859 |
|
|
|
860 |
<div class="description"> |
|
|
861 |
|
|
|
862 |
<dl rel="yui:parameters"> |
|
|
863 |
<dt>Parameters:</dt> |
|
|
864 |
<dd rel="yui:parameter"> |
|
|
865 |
<code><span property="yui:name">url</span> |
|
|
866 |
<<span property="yui:type">string</span>> |
|
|
867 |
</code> |
|
|
868 |
<span property="yui:description"> the url or urls to the css file(s)</span> |
|
|
869 |
</dd> |
|
|
870 |
<dd rel="yui:parameter"> |
|
|
871 |
<code><span property="yui:name">opts</span> |
|
|
872 |
<<span property="yui:type">object</span>> |
|
|
873 |
</code> |
|
|
874 |
<span property="yui:description"> Options: |
|
|
875 |
<dl> |
|
|
876 |
<dt>onSuccess</dt> |
|
|
877 |
<dd> |
|
|
878 |
callback to execute when the css file(s) are finished loading |
|
|
879 |
The callback receives an object back with the following |
|
|
880 |
data: |
|
|
881 |
<dl>win</dl> |
|
|
882 |
<dd>the window the link nodes(s) were inserted into</dd> |
|
|
883 |
<dt>data</dt> |
|
|
884 |
<dd>the data object passed in when the request was made</dd> |
|
|
885 |
<dt>nodes</dt> |
|
|
886 |
<dd>An array containing references to the nodes that were |
|
|
887 |
inserted</dd> |
|
|
888 |
<dt>purge</dt> |
|
|
889 |
<dd>A function that, when executed, will remove the nodes |
|
|
890 |
that were inserted</dd> |
|
|
891 |
<dt> |
|
|
892 |
</dl> |
|
|
893 |
</dd> |
|
|
894 |
<dt>context</dt> |
|
|
895 |
<dd>the execution context for the callbacks</dd> |
|
|
896 |
<dt>win</dt> |
|
|
897 |
<dd>a window other than the one the utility occupies</dd> |
|
|
898 |
<dt>data</dt> |
|
|
899 |
<dd> |
|
|
900 |
data that is supplied to the callbacks when the nodes(s) are |
|
|
901 |
loaded. |
|
|
902 |
</dd> |
|
|
903 |
<dt>insertBefore</dt> |
|
|
904 |
<dd>node or node id that will become the new node's nextSibling</dd> |
|
|
905 |
<dt>charset</dt> |
|
|
906 |
<dd>Node charset, default utf-8 (deprecated, use the attributes config)</dd> |
|
|
907 |
<dt>attributes</dt> |
|
|
908 |
<dd>An object literal containing additional attributes to add to the link tags</dd> |
|
|
909 |
</dl> |
|
|
910 |
<pre> |
|
|
911 |
Y.Get.css("http://yui.yahooapis.com/2.3.1/build/menu/assets/skins/sam/menu.css"); |
|
|
912 |
</pre> |
|
|
913 |
<pre> |
|
|
914 |
Y.Get.css( |
|
|
915 |
["http://yui.yahooapis.com/2.3.1/build/menu/assets/skins/sam/menu.css", |
|
|
916 |
"http://yui.yahooapis.com/2.3.1/build/logger/assets/skins/sam/logger.css"], { |
|
|
917 |
insertBefore: 'custom-styles' // nodes will be inserted before the specified node |
|
|
918 |
}); |
|
|
919 |
</pre></span> |
|
|
920 |
</dd> |
|
|
921 |
</dl> |
|
|
922 |
|
|
|
923 |
<dl> |
|
|
924 |
<dt>Returns: |
|
|
925 |
<code property="yui:return"> |
|
|
926 |
tId: string |
|
|
927 |
</code></dt> |
|
|
928 |
<dd property="yui:returnInfo">an object containing info about the transaction</dd> |
|
|
929 |
</dl> |
|
|
930 |
|
|
|
931 |
|
|
|
932 |
|
|
|
933 |
|
|
|
934 |
</div> |
|
|
935 |
|
|
|
936 |
</div> |
|
|
937 |
<hr /> |
|
|
938 |
</div> |
|
|
939 |
<div class="private" rel="yui:method" resource="#method_queue"> |
|
|
940 |
<h4> |
|
|
941 |
<a name="method_queue">queue</a></h4> |
|
|
942 |
<div class="detail" > |
|
|
943 |
<code> |
|
|
944 |
private |
|
|
945 |
|
|
|
946 |
|
|
|
947 |
void |
|
|
948 |
<strong property="yui:name">queue</strong> |
|
|
949 |
( |
|
|
950 |
|
|
|
951 |
|
|
|
952 |
type |
|
|
953 |
|
|
|
954 |
|
|
|
955 |
, |
|
|
956 |
url |
|
|
957 |
|
|
|
958 |
|
|
|
959 |
, |
|
|
960 |
opts |
|
|
961 |
|
|
|
962 |
|
|
|
963 |
) |
|
|
964 |
</code> |
|
|
965 |
|
|
|
966 |
<div class="description" property="yui:description"> |
|
|
967 |
Saves the state for the request and begins loading |
|
|
968 |
the requested urls |
|
|
969 |
</div> |
|
|
970 |
|
|
|
971 |
<div class="description"> |
|
|
972 |
|
|
|
973 |
<dl rel="yui:parameters"> |
|
|
974 |
<dt>Parameters:</dt> |
|
|
975 |
<dd rel="yui:parameter"> |
|
|
976 |
<code><span property="yui:name">type</span> |
|
|
977 |
<<span property="yui:type">string</span>> |
|
|
978 |
</code> |
|
|
979 |
<span property="yui:description"> the type of node to insert</span> |
|
|
980 |
</dd> |
|
|
981 |
<dd rel="yui:parameter"> |
|
|
982 |
<code><span property="yui:name">url</span> |
|
|
983 |
<<span property="yui:type">string</span>> |
|
|
984 |
</code> |
|
|
985 |
<span property="yui:description"> the url to load</span> |
|
|
986 |
</dd> |
|
|
987 |
<dd rel="yui:parameter"> |
|
|
988 |
<code><span property="yui:name">opts</span> |
|
|
989 |
<<span property="yui:type">object</span>> |
|
|
990 |
</code> |
|
|
991 |
<span property="yui:description"> the hash of options for this request</span> |
|
|
992 |
</dd> |
|
|
993 |
</dl> |
|
|
994 |
|
|
|
995 |
|
|
|
996 |
|
|
|
997 |
|
|
|
998 |
|
|
|
999 |
</div> |
|
|
1000 |
|
|
|
1001 |
</div> |
|
|
1002 |
<hr /> |
|
|
1003 |
</div> |
|
|
1004 |
<div class="" rel="yui:method" resource="#method_script"> |
|
|
1005 |
<h4> |
|
|
1006 |
<a name="method_script">script</a></h4> |
|
|
1007 |
<div class="detail" > |
|
|
1008 |
<code> |
|
|
1009 |
|
|
|
1010 |
static |
|
|
1011 |
|
|
|
1012 |
tId: string |
|
|
1013 |
<strong property="yui:name">script</strong> |
|
|
1014 |
( |
|
|
1015 |
|
|
|
1016 |
|
|
|
1017 |
url |
|
|
1018 |
|
|
|
1019 |
|
|
|
1020 |
, |
|
|
1021 |
opts |
|
|
1022 |
|
|
|
1023 |
|
|
|
1024 |
) |
|
|
1025 |
</code> |
|
|
1026 |
|
|
|
1027 |
<div class="description" property="yui:description"> |
|
|
1028 |
Fetches and inserts one or more script nodes into the head |
|
|
1029 |
of the current document or the document in a specified window. |
|
|
1030 |
</div> |
|
|
1031 |
|
|
|
1032 |
<div class="description"> |
|
|
1033 |
|
|
|
1034 |
<dl rel="yui:parameters"> |
|
|
1035 |
<dt>Parameters:</dt> |
|
|
1036 |
<dd rel="yui:parameter"> |
|
|
1037 |
<code><span property="yui:name">url</span> |
|
|
1038 |
<<span property="yui:type">string|string[]</span>> |
|
|
1039 |
</code> |
|
|
1040 |
<span property="yui:description"> the url or urls to the script(s)</span> |
|
|
1041 |
</dd> |
|
|
1042 |
<dd rel="yui:parameter"> |
|
|
1043 |
<code><span property="yui:name">opts</span> |
|
|
1044 |
<<span property="yui:type">object</span>> |
|
|
1045 |
</code> |
|
|
1046 |
<span property="yui:description"> Options: |
|
|
1047 |
<dl> |
|
|
1048 |
<dt>onSuccess</dt> |
|
|
1049 |
<dd> |
|
|
1050 |
callback to execute when the script(s) are finished loading |
|
|
1051 |
The callback receives an object back with the following |
|
|
1052 |
data: |
|
|
1053 |
<dl> |
|
|
1054 |
<dt>win</dt> |
|
|
1055 |
<dd>the window the script(s) were inserted into</dd> |
|
|
1056 |
<dt>data</dt> |
|
|
1057 |
<dd>the data object passed in when the request was made</dd> |
|
|
1058 |
<dt>nodes</dt> |
|
|
1059 |
<dd>An array containing references to the nodes that were |
|
|
1060 |
inserted</dd> |
|
|
1061 |
<dt>purge</dt> |
|
|
1062 |
<dd>A function that, when executed, will remove the nodes |
|
|
1063 |
that were inserted</dd> |
|
|
1064 |
<dt> |
|
|
1065 |
</dl> |
|
|
1066 |
</dd> |
|
|
1067 |
<dt>onTimeout</dt> |
|
|
1068 |
<dd> |
|
|
1069 |
callback to execute when a timeout occurs. |
|
|
1070 |
The callback receives an object back with the following |
|
|
1071 |
data: |
|
|
1072 |
<dl> |
|
|
1073 |
<dt>win</dt> |
|
|
1074 |
<dd>the window the script(s) were inserted into</dd> |
|
|
1075 |
<dt>data</dt> |
|
|
1076 |
<dd>the data object passed in when the request was made</dd> |
|
|
1077 |
<dt>nodes</dt> |
|
|
1078 |
<dd>An array containing references to the nodes that were |
|
|
1079 |
inserted</dd> |
|
|
1080 |
<dt>purge</dt> |
|
|
1081 |
<dd>A function that, when executed, will remove the nodes |
|
|
1082 |
that were inserted</dd> |
|
|
1083 |
<dt> |
|
|
1084 |
</dl> |
|
|
1085 |
</dd> |
|
|
1086 |
<dt>onEnd</dt> |
|
|
1087 |
<dd>a function that executes when the transaction finishes, regardless of the exit path</dd> |
|
|
1088 |
<dt>onFailure</dt> |
|
|
1089 |
<dd> |
|
|
1090 |
callback to execute when the script load operation fails |
|
|
1091 |
The callback receives an object back with the following |
|
|
1092 |
data: |
|
|
1093 |
<dl> |
|
|
1094 |
<dt>win</dt> |
|
|
1095 |
<dd>the window the script(s) were inserted into</dd> |
|
|
1096 |
<dt>data</dt> |
|
|
1097 |
<dd>the data object passed in when the request was made</dd> |
|
|
1098 |
<dt>nodes</dt> |
|
|
1099 |
<dd>An array containing references to the nodes that were |
|
|
1100 |
inserted successfully</dd> |
|
|
1101 |
<dt>purge</dt> |
|
|
1102 |
<dd>A function that, when executed, will remove any nodes |
|
|
1103 |
that were inserted</dd> |
|
|
1104 |
<dt> |
|
|
1105 |
</dl> |
|
|
1106 |
</dd> |
|
|
1107 |
<dt>context</dt> |
|
|
1108 |
<dd>the execution context for the callbacks</dd> |
|
|
1109 |
<dt>win</dt> |
|
|
1110 |
<dd>a window other than the one the utility occupies</dd> |
|
|
1111 |
<dt>autopurge</dt> |
|
|
1112 |
<dd> |
|
|
1113 |
setting to true will let the utilities cleanup routine purge |
|
|
1114 |
the script once loaded |
|
|
1115 |
</dd> |
|
|
1116 |
<dt>purgethreshold</dt> |
|
|
1117 |
<dd> |
|
|
1118 |
The number of transaction before autopurge should be initiated |
|
|
1119 |
</dd> |
|
|
1120 |
<dt>data</dt> |
|
|
1121 |
<dd> |
|
|
1122 |
data that is supplied to the callback when the script(s) are |
|
|
1123 |
loaded. |
|
|
1124 |
</dd> |
|
|
1125 |
<dt>insertBefore</dt> |
|
|
1126 |
<dd>node or node id that will become the new node's nextSibling</dd> |
|
|
1127 |
</dl> |
|
|
1128 |
<dt>charset</dt> |
|
|
1129 |
<dd>Node charset, default utf-8 (deprecated, use the attributes config)</dd> |
|
|
1130 |
<dt>attributes</dt> |
|
|
1131 |
<dd>An object literal containing additional attributes to add to the link tags</dd> |
|
|
1132 |
<dt>timeout</dt> |
|
|
1133 |
<dd>Number of milliseconds to wait before aborting and firing the timeout event</dd> |
|
|
1134 |
<pre> |
|
|
1135 |
Y.Get.script( |
|
|
1136 |
["http://yui.yahooapis.com/2.5.2/build/yahoo/yahoo-min.js", |
|
|
1137 |
"http://yui.yahooapis.com/2.5.2/build/event/event-min.js"], { |
|
|
1138 |
onSuccess: function(o) { |
|
|
1139 |
this.log("won't cause error because Y is the context"); |
|
|
1140 |
Y.log(o.data); // foo |
|
|
1141 |
Y.log(o.nodes.length === 2) // true |
|
|
1142 |
// o.purge(); // optionally remove the script nodes immediately |
|
|
1143 |
}, |
|
|
1144 |
onFailure: function(o) { |
|
|
1145 |
Y.log("transaction failed"); |
|
|
1146 |
}, |
|
|
1147 |
onTimeout: function(o) { |
|
|
1148 |
Y.log("transaction timed out"); |
|
|
1149 |
}, |
|
|
1150 |
data: "foo", |
|
|
1151 |
timeout: 10000, // 10 second timeout |
|
|
1152 |
context: Y, // make the YUI instance |
|
|
1153 |
// win: otherframe // target another window/frame |
|
|
1154 |
autopurge: true // allow the utility to choose when to remove the nodes |
|
|
1155 |
purgetheshold: 1 // purge previous transaction before next transaction |
|
|
1156 |
}); |
|
|
1157 |
</pre></span> |
|
|
1158 |
</dd> |
|
|
1159 |
</dl> |
|
|
1160 |
|
|
|
1161 |
<dl> |
|
|
1162 |
<dt>Returns: |
|
|
1163 |
<code property="yui:return"> |
|
|
1164 |
tId: string |
|
|
1165 |
</code></dt> |
|
|
1166 |
<dd property="yui:returnInfo">an object containing info about the transaction</dd> |
|
|
1167 |
</dl> |
|
|
1168 |
|
|
|
1169 |
|
|
|
1170 |
|
|
|
1171 |
|
|
|
1172 |
</div> |
|
|
1173 |
|
|
|
1174 |
</div> |
|
|
1175 |
<hr /> |
|
|
1176 |
</div> |
|
|
1177 |
</div> |
|
|
1178 |
</div> |
|
|
1179 |
|
|
|
1180 |
</div> |
|
|
1181 |
|
|
|
1182 |
<div rel="yui:events" resource="#events"> |
|
|
1183 |
|
|
|
1184 |
|
|
|
1185 |
</div> |
|
|
1186 |
|
|
|
1187 |
<div rel="yui:attributes" resource="#configattributes"> |
|
|
1188 |
|
|
|
1189 |
</div> |
|
|
1190 |
|
|
|
1191 |
</div> |
|
|
1192 |
</div> |
|
|
1193 |
<div class="yui-b"> |
|
|
1194 |
<div class="nav"> |
|
|
1195 |
|
|
|
1196 |
<div id="moduleList" class="module"> |
|
|
1197 |
<h4>Modules</h4> |
|
|
1198 |
<ul class="content"> |
|
|
1199 |
<li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
|
1200 |
<li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
|
1201 |
<li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
|
1202 |
<li class=""><a href="module_base.html" title="base">base</a></li> |
|
|
1203 |
<li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
|
1204 |
<li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
|
1205 |
<li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
|
1206 |
<li class=""><a href="module_console.html" title="console">console</a></li> |
|
|
1207 |
<li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
|
1208 |
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
|
1209 |
<li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
|
1210 |
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
|
1211 |
<li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
|
1212 |
<li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
|
1213 |
<li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
|
1214 |
<li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
|
1215 |
<li class=""><a href="module_event.html" title="event">event</a></li> |
|
|
1216 |
<li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
|
1217 |
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
|
1218 |
<li class=""><a href="module_history.html" title="history">history</a></li> |
|
|
1219 |
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
|
1220 |
<li class=""><a href="module_io.html" title="io">io</a></li> |
|
|
1221 |
<li class=""><a href="module_json.html" title="json">json</a></li> |
|
|
1222 |
<li class=""><a href="module_node.html" title="node">node</a></li> |
|
|
1223 |
<li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
|
1224 |
<li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
|
1225 |
<li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
|
1226 |
<li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
|
1227 |
<li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
|
1228 |
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
|
1229 |
<li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
|
1230 |
<li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
|
1231 |
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
|
1232 |
<li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
|
1233 |
<li class=""><a href="module_test.html" title="test">test</a></li> |
|
|
1234 |
<li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
|
1235 |
<li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
|
1236 |
<li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
|
1237 |
<li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
|
1238 |
<li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
|
1239 |
<li class="selected"><a href="module_yui.html" title="yui">yui</a></li> |
|
|
1240 |
</ul> |
|
|
1241 |
</div> |
|
|
1242 |
|
|
|
1243 |
<div id="classList" class="module"> |
|
|
1244 |
<h4>Classes</h4> |
|
|
1245 |
<ul class="content"> |
|
|
1246 |
<li class=""><a href="Array.html" title="Array">Array</a></li> |
|
|
1247 |
<li class=""><a href="config.html" title="config">config</a></li> |
|
|
1248 |
<li class="selected"><a href="Get.html" title="Get">Get</a></li> |
|
|
1249 |
<li class=""><a href="Lang.html" title="Lang">Lang</a></li> |
|
|
1250 |
<li class=""><a href="Object.html" title="Object">Object</a></li> |
|
|
1251 |
<li class=""><a href="Queue.html" title="Queue">Queue</a></li> |
|
|
1252 |
<li class=""><a href="UA.html" title="UA">UA</a></li> |
|
|
1253 |
<li class=""><a href="YUI.html" title="YUI">YUI</a></li> |
|
|
1254 |
</ul> |
|
|
1255 |
</div> |
|
|
1256 |
|
|
|
1257 |
<div id="fileList" class="module"> |
|
|
1258 |
<h4>Files</h4> |
|
|
1259 |
<ul class="content"> |
|
|
1260 |
<li class=""><a href="_module.js.html" title="_module.js">_module.js</a></li> |
|
|
1261 |
<li class=""><a href="get.js.html" title="get.js">get.js</a></li> |
|
|
1262 |
<li class=""><a href="queue-base.js.html" title="queue-base.js">queue-base.js</a></li> |
|
|
1263 |
<li class=""><a href="yui-array.js.html" title="yui-array.js">yui-array.js</a></li> |
|
|
1264 |
<li class=""><a href="yui-base.js.html" title="yui-base.js">yui-base.js</a></li> |
|
|
1265 |
<li class=""><a href="yui-core.js.html" title="yui-core.js">yui-core.js</a></li> |
|
|
1266 |
<li class=""><a href="yui-init.js.html" title="yui-init.js">yui-init.js</a></li> |
|
|
1267 |
<li class=""><a href="yui-lang.js.html" title="yui-lang.js">yui-lang.js</a></li> |
|
|
1268 |
<li class=""><a href="yui-later.js.html" title="yui-later.js">yui-later.js</a></li> |
|
|
1269 |
<li class=""><a href="yui-log.js.html" title="yui-log.js">yui-log.js</a></li> |
|
|
1270 |
<li class=""><a href="yui-object.js.html" title="yui-object.js">yui-object.js</a></li> |
|
|
1271 |
<li class=""><a href="yui-ua.js.html" title="yui-ua.js">yui-ua.js</a></li> |
|
|
1272 |
<li class=""><a href="yui.js.html" title="yui.js">yui.js</a></li> |
|
|
1273 |
</ul> |
|
|
1274 |
</div> |
|
|
1275 |
|
|
|
1276 |
<div id="propertyList" class="module"> |
|
|
1277 |
<h4>Properties</h4> |
|
|
1278 |
<ul class="content"> |
|
|
1279 |
<li class="private"><a href="#property_PURGE_THRESH" title="PURGE_THRESH">PURGE_THRESH</a></li> |
|
|
1280 |
<li class="private"><a href="#property_purging" title="purging">purging</a></li> |
|
|
1281 |
<li class="private"><a href="#property_qidx" title="qidx">qidx</a></li> |
|
|
1282 |
<li class="private"><a href="#property_queues" title="queues">queues</a></li> |
|
|
1283 |
</ul> |
|
|
1284 |
</div> |
|
|
1285 |
|
|
|
1286 |
<div id="methodsList" class="module"> |
|
|
1287 |
<h4>Methods</h4> |
|
|
1288 |
<ul class="content"> |
|
|
1289 |
<li class="private"><a href="#method__autoPurge" title="_autoPurge">_autoPurge</a></li> |
|
|
1290 |
<li class="private"><a href="#method__end" title="_end">_end</a></li> |
|
|
1291 |
<li class="private"><a href="#method__finalize" title="_finalize">_finalize</a></li> |
|
|
1292 |
<li class="private"><a href="#method__finish" title="_finish">_finish</a></li> |
|
|
1293 |
<li class="private"><a href="#method__linkNode" title="_linkNode">_linkNode</a></li> |
|
|
1294 |
<li class="private"><a href="#method__next" title="_next">_next</a></li> |
|
|
1295 |
<li class="private"><a href="#method__node" title="_node">_node</a></li> |
|
|
1296 |
<li class="private"><a href="#method__purge" title="_purge">_purge</a></li> |
|
|
1297 |
<li class="private"><a href="#method__returnData" title="_returnData">_returnData</a></li> |
|
|
1298 |
<li class="private"><a href="#method__scriptNode" title="_scriptNode">_scriptNode</a></li> |
|
|
1299 |
<li class="private"><a href="#method__timeout" title="_timeout">_timeout</a></li> |
|
|
1300 |
<li class="private"><a href="#method__track" title="_track">_track</a></li> |
|
|
1301 |
<li class=""><a href="#method_abort" title="abort">abort</a></li> |
|
|
1302 |
<li class=""><a href="#method_css" title="css">css</a></li> |
|
|
1303 |
<li class="private"><a href="#method_queue" title="queue">queue</a></li> |
|
|
1304 |
<li class=""><a href="#method_script" title="script">script</a></li> |
|
|
1305 |
</ul> |
|
|
1306 |
</div> |
|
|
1307 |
|
|
|
1308 |
|
|
|
1309 |
|
|
|
1310 |
</div> |
|
|
1311 |
</div> |
|
|
1312 |
</div> |
|
|
1313 |
<div id="ft"> |
|
|
1314 |
<hr /> |
|
|
1315 |
Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
|
1316 |
</div> |
|
|
1317 |
</div> |
|
|
1318 |
<script type="text/javascript"> |
|
|
1319 |
ALL_YUI_PROPS = [{"access": "", "host": "Object", "name": "()", "url": "Object.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": "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": "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": "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": "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": "YUI", "name": "stamp", "url": "YUI.html#method_stamp", "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"}]; |
|
|
1320 |
</script> |
|
|
1321 |
</body> |
|
|
1322 |
</html> |