|
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: node Node (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>node <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_node.html" title="node">node</a> |
|
22 > Node |
|
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">Node</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 The Node class provides a wrapper for manipulating DOM Nodes. |
|
63 Node properties can be accessed via the set/get methods. |
|
64 Use Y.get() to retrieve Node instances. |
|
65 <strong>NOTE:</strong> Node properties are accessed using |
|
66 the <code>set</code> and <code>get</code> methods. |
|
67 </div> |
|
68 |
|
69 <div class="section constructor details" rel="yui:constructor" resource="#constructor"> |
|
70 <h3 id="constructor">Constructor</h3> |
|
71 <div class="content"> |
|
72 <div class="detail"> |
|
73 <strong property="yui:name">Node</strong> |
|
74 <code> |
|
75 ( |
|
76 ) |
|
77 </code> |
|
78 <div class="description"> |
|
79 |
|
80 |
|
81 </div> |
|
82 </div> |
|
83 </div> |
|
84 </div> |
|
85 |
|
86 <div rel="yui:properties" resource="#properties"> |
|
87 |
|
88 </div> |
|
89 |
|
90 <div rel="yui:methods" resource="#methods"> |
|
91 <div class="section method details"> |
|
92 <h3 id="methods">Methods</h3> |
|
93 <div class="content"> |
|
94 <div class="" rel="yui:method" resource="#method_addClass"> |
|
95 <h4> |
|
96 <a name="method_addClass">addClass</a></h4> |
|
97 <div class="detail" > |
|
98 <code> |
|
99 |
|
100 |
|
101 |
|
102 void |
|
103 <strong property="yui:name">addClass</strong> |
|
104 ( |
|
105 |
|
106 |
|
107 className |
|
108 |
|
109 |
|
110 ) |
|
111 </code> |
|
112 |
|
113 <div class="description" property="yui:description"> |
|
114 Adds a class name to each node. |
|
115 </div> |
|
116 |
|
117 <div class="description"> |
|
118 |
|
119 <dl rel="yui:parameters"> |
|
120 <dt>Parameters:</dt> |
|
121 <dd rel="yui:parameter"> |
|
122 <code><span property="yui:name">className</span> |
|
123 <<span property="yui:type">String</span>> |
|
124 </code> |
|
125 <span property="yui:description"> the class name to add to the node's class attribute</span> |
|
126 </dd> |
|
127 </dl> |
|
128 |
|
129 |
|
130 <div class="chainable"> |
|
131 <strong>Chainable:</strong> This method is chainable. |
|
132 </div> |
|
133 |
|
134 |
|
135 |
|
136 </div> |
|
137 |
|
138 </div> |
|
139 <hr /> |
|
140 </div> |
|
141 <div class="" rel="yui:method" resource="#method_all"> |
|
142 <h4> |
|
143 <a name="method_all">all</a></h4> |
|
144 <div class="detail" > |
|
145 <code> |
|
146 |
|
147 |
|
148 |
|
149 NodeList |
|
150 <strong property="yui:name">all</strong> |
|
151 ( |
|
152 |
|
153 |
|
154 selector |
|
155 |
|
156 |
|
157 ) |
|
158 </code> |
|
159 |
|
160 <div class="description" property="yui:description"> |
|
161 Retrieves a nodeList based on the given CSS selector. |
|
162 </div> |
|
163 |
|
164 <div class="description"> |
|
165 |
|
166 <dl rel="yui:parameters"> |
|
167 <dt>Parameters:</dt> |
|
168 <dd rel="yui:parameter"> |
|
169 <code><span property="yui:name">selector</span> |
|
170 <<span property="yui:type">string</span>> |
|
171 </code> |
|
172 <span property="yui:description"> The CSS selector to test against.</span> |
|
173 </dd> |
|
174 </dl> |
|
175 |
|
176 <dl> |
|
177 <dt>Returns: |
|
178 <code property="yui:return"> |
|
179 NodeList |
|
180 </code></dt> |
|
181 <dd property="yui:returnInfo">A NodeList instance for the matching HTMLCollection/Array.</dd> |
|
182 </dl> |
|
183 |
|
184 |
|
185 |
|
186 |
|
187 </div> |
|
188 |
|
189 </div> |
|
190 <hr /> |
|
191 </div> |
|
192 <div class="" rel="yui:method" resource="#method_ancestor"> |
|
193 <h4> |
|
194 <a name="method_ancestor">ancestor</a></h4> |
|
195 <div class="detail" > |
|
196 <code> |
|
197 |
|
198 |
|
199 |
|
200 Node |
|
201 <strong property="yui:name">ancestor</strong> |
|
202 ( |
|
203 |
|
204 |
|
205 fn |
|
206 |
|
207 |
|
208 ) |
|
209 </code> |
|
210 |
|
211 <div class="description" property="yui:description"> |
|
212 Returns the nearest ancestor that passes the test applied by supplied boolean method. |
|
213 </div> |
|
214 |
|
215 <div class="description"> |
|
216 |
|
217 <dl rel="yui:parameters"> |
|
218 <dt>Parameters:</dt> |
|
219 <dd rel="yui:parameter"> |
|
220 <code><span property="yui:name">fn</span> |
|
221 <<span property="yui:type">String | Function</span>> |
|
222 </code> |
|
223 <span property="yui:description"> A selector string or boolean method for testing elements. |
|
224 If a function is used, it receives the current node being tested as the only argument.</span> |
|
225 </dd> |
|
226 </dl> |
|
227 |
|
228 <dl> |
|
229 <dt>Returns: |
|
230 <code property="yui:return"> |
|
231 Node |
|
232 </code></dt> |
|
233 <dd property="yui:returnInfo">The matching Node instance or null if not found</dd> |
|
234 </dl> |
|
235 |
|
236 |
|
237 |
|
238 |
|
239 </div> |
|
240 |
|
241 </div> |
|
242 <hr /> |
|
243 </div> |
|
244 <div class="" rel="yui:method" resource="#method_append"> |
|
245 <h4> |
|
246 <a name="method_append">append</a></h4> |
|
247 <div class="detail" > |
|
248 <code> |
|
249 |
|
250 |
|
251 |
|
252 void |
|
253 <strong property="yui:name">append</strong> |
|
254 ( |
|
255 |
|
256 |
|
257 content |
|
258 |
|
259 |
|
260 ) |
|
261 </code> |
|
262 |
|
263 <div class="description" property="yui:description"> |
|
264 Inserts the content as the lastChild of the node. |
|
265 </div> |
|
266 |
|
267 <div class="description"> |
|
268 |
|
269 <dl rel="yui:parameters"> |
|
270 <dt>Parameters:</dt> |
|
271 <dd rel="yui:parameter"> |
|
272 <code><span property="yui:name">content</span> |
|
273 <<span property="yui:type">String | Y.Node | HTMLElement</span>> |
|
274 </code> |
|
275 <span property="yui:description"> The content to insert</span> |
|
276 </dd> |
|
277 </dl> |
|
278 |
|
279 |
|
280 <div class="chainable"> |
|
281 <strong>Chainable:</strong> This method is chainable. |
|
282 </div> |
|
283 |
|
284 |
|
285 |
|
286 </div> |
|
287 |
|
288 </div> |
|
289 <hr /> |
|
290 </div> |
|
291 <div class="" rel="yui:method" resource="#method_appendChild"> |
|
292 <h4> |
|
293 <a name="method_appendChild">appendChild</a></h4> |
|
294 <div class="detail" > |
|
295 <code> |
|
296 |
|
297 |
|
298 |
|
299 Node |
|
300 <strong property="yui:name">appendChild</strong> |
|
301 ( |
|
302 |
|
303 |
|
304 node |
|
305 |
|
306 |
|
307 ) |
|
308 </code> |
|
309 |
|
310 <div class="description" property="yui:description"> |
|
311 Passes through to DOM method. |
|
312 </div> |
|
313 |
|
314 <div class="description"> |
|
315 |
|
316 <dl rel="yui:parameters"> |
|
317 <dt>Parameters:</dt> |
|
318 <dd rel="yui:parameter"> |
|
319 <code><span property="yui:name">node</span> |
|
320 <<span property="yui:type">HTMLElement | Node</span>> |
|
321 </code> |
|
322 <span property="yui:description"> Node to be appended</span> |
|
323 </dd> |
|
324 </dl> |
|
325 |
|
326 <dl> |
|
327 <dt>Returns: |
|
328 <code property="yui:return"> |
|
329 Node |
|
330 </code></dt> |
|
331 <dd property="yui:returnInfo">The appended node</dd> |
|
332 </dl> |
|
333 |
|
334 |
|
335 |
|
336 |
|
337 </div> |
|
338 |
|
339 </div> |
|
340 <hr /> |
|
341 </div> |
|
342 <div class="" rel="yui:method" resource="#method_blur"> |
|
343 <h4> |
|
344 <a name="method_blur">blur</a></h4> |
|
345 <div class="detail" > |
|
346 <code> |
|
347 |
|
348 |
|
349 |
|
350 void |
|
351 <strong property="yui:name">blur</strong> |
|
352 ( |
|
353 ) |
|
354 </code> |
|
355 |
|
356 <div class="description" property="yui:description"> |
|
357 Passes through to DOM method. |
|
358 </div> |
|
359 |
|
360 <div class="description"> |
|
361 |
|
362 |
|
363 |
|
364 <div class="chainable"> |
|
365 <strong>Chainable:</strong> This method is chainable. |
|
366 </div> |
|
367 |
|
368 |
|
369 |
|
370 </div> |
|
371 |
|
372 </div> |
|
373 <hr /> |
|
374 </div> |
|
375 <div class="" rel="yui:method" resource="#method_cloneNode"> |
|
376 <h4> |
|
377 <a name="method_cloneNode">cloneNode</a></h4> |
|
378 <div class="detail" > |
|
379 <code> |
|
380 |
|
381 |
|
382 |
|
383 Node |
|
384 <strong property="yui:name">cloneNode</strong> |
|
385 ( |
|
386 |
|
387 |
|
388 deep |
|
389 |
|
390 |
|
391 ) |
|
392 </code> |
|
393 |
|
394 <div class="description" property="yui:description"> |
|
395 Passes through to DOM method. |
|
396 </div> |
|
397 |
|
398 <div class="description"> |
|
399 |
|
400 <dl rel="yui:parameters"> |
|
401 <dt>Parameters:</dt> |
|
402 <dd rel="yui:parameter"> |
|
403 <code><span property="yui:name">deep</span> |
|
404 <<span property="yui:type">Boolean</span>> |
|
405 </code> |
|
406 <span property="yui:description"> Whether or not to perform a deep clone, which includes |
|
407 subtree and attributes</span> |
|
408 </dd> |
|
409 </dl> |
|
410 |
|
411 <dl> |
|
412 <dt>Returns: |
|
413 <code property="yui:return"> |
|
414 Node |
|
415 </code></dt> |
|
416 <dd property="yui:returnInfo">The clone</dd> |
|
417 </dl> |
|
418 |
|
419 |
|
420 |
|
421 |
|
422 </div> |
|
423 |
|
424 </div> |
|
425 <hr /> |
|
426 </div> |
|
427 <div class="" rel="yui:method" resource="#method_compareTo"> |
|
428 <h4> |
|
429 <a name="method_compareTo">compareTo</a></h4> |
|
430 <div class="detail" > |
|
431 <code> |
|
432 |
|
433 |
|
434 |
|
435 Boolean |
|
436 <strong property="yui:name">compareTo</strong> |
|
437 ( |
|
438 |
|
439 |
|
440 refNode |
|
441 |
|
442 |
|
443 ) |
|
444 </code> |
|
445 |
|
446 <div class="description" property="yui:description"> |
|
447 Compares nodes to determine if they match. |
|
448 Node instances can be compared to each other and/or HTMLElements. |
|
449 </div> |
|
450 |
|
451 <div class="description"> |
|
452 |
|
453 <dl rel="yui:parameters"> |
|
454 <dt>Parameters:</dt> |
|
455 <dd rel="yui:parameter"> |
|
456 <code><span property="yui:name">refNode</span> |
|
457 <<span property="yui:type">HTMLElement | Node</span>> |
|
458 </code> |
|
459 <span property="yui:description"> The reference node to compare to the node.</span> |
|
460 </dd> |
|
461 </dl> |
|
462 |
|
463 <dl> |
|
464 <dt>Returns: |
|
465 <code property="yui:return"> |
|
466 Boolean |
|
467 </code></dt> |
|
468 <dd property="yui:returnInfo">True if the nodes match, false if they do not.</dd> |
|
469 </dl> |
|
470 |
|
471 |
|
472 |
|
473 |
|
474 </div> |
|
475 |
|
476 </div> |
|
477 <hr /> |
|
478 </div> |
|
479 <div class="" rel="yui:method" resource="#method_contains"> |
|
480 <h4> |
|
481 <a name="method_contains">contains</a></h4> |
|
482 <div class="detail" > |
|
483 <code> |
|
484 |
|
485 |
|
486 |
|
487 Boolean |
|
488 <strong property="yui:name">contains</strong> |
|
489 ( |
|
490 |
|
491 |
|
492 needle |
|
493 |
|
494 |
|
495 ) |
|
496 </code> |
|
497 |
|
498 <div class="description" property="yui:description"> |
|
499 Determines whether the ndoe is an ancestor of another HTML element in the DOM hierarchy. |
|
500 </div> |
|
501 |
|
502 <div class="description"> |
|
503 |
|
504 <dl rel="yui:parameters"> |
|
505 <dt>Parameters:</dt> |
|
506 <dd rel="yui:parameter"> |
|
507 <code><span property="yui:name">needle</span> |
|
508 <<span property="yui:type">Node | HTMLElement</span>> |
|
509 </code> |
|
510 <span property="yui:description"> The possible node or descendent</span> |
|
511 </dd> |
|
512 </dl> |
|
513 |
|
514 <dl> |
|
515 <dt>Returns: |
|
516 <code property="yui:return"> |
|
517 Boolean |
|
518 </code></dt> |
|
519 <dd property="yui:returnInfo">Whether or not this node is the needle its ancestor</dd> |
|
520 </dl> |
|
521 |
|
522 |
|
523 |
|
524 |
|
525 </div> |
|
526 |
|
527 </div> |
|
528 <hr /> |
|
529 </div> |
|
530 <div class="" rel="yui:method" resource="#method_create"> |
|
531 <h4> |
|
532 <a name="method_create">create</a></h4> |
|
533 <div class="detail" > |
|
534 <code> |
|
535 |
|
536 static |
|
537 |
|
538 Node |
|
539 <strong property="yui:name">create</strong> |
|
540 ( |
|
541 |
|
542 |
|
543 html |
|
544 |
|
545 |
|
546 , |
|
547 doc |
|
548 |
|
549 |
|
550 ) |
|
551 </code> |
|
552 |
|
553 <div class="description" property="yui:description"> |
|
554 Creates a new dom node using the provided markup string. |
|
555 </div> |
|
556 |
|
557 <div class="description"> |
|
558 |
|
559 <dl rel="yui:parameters"> |
|
560 <dt>Parameters:</dt> |
|
561 <dd rel="yui:parameter"> |
|
562 <code><span property="yui:name">html</span> |
|
563 <<span property="yui:type">String</span>> |
|
564 </code> |
|
565 <span property="yui:description"> The markup used to create the element</span> |
|
566 </dd> |
|
567 <dd rel="yui:parameter"> |
|
568 <code><span property="yui:name">doc</span> |
|
569 <<span property="yui:type">HTMLDocument</span>> |
|
570 </code> |
|
571 <span property="yui:description"> An optional document context</span> |
|
572 </dd> |
|
573 </dl> |
|
574 |
|
575 <dl> |
|
576 <dt>Returns: |
|
577 <code property="yui:return"> |
|
578 Node |
|
579 </code></dt> |
|
580 <dd property="yui:returnInfo">A Node instance bound to a DOM node or fragment</dd> |
|
581 </dl> |
|
582 |
|
583 |
|
584 |
|
585 |
|
586 </div> |
|
587 |
|
588 </div> |
|
589 <hr /> |
|
590 </div> |
|
591 <div class="" rel="yui:method" resource="#method_delegate"> |
|
592 <h4> |
|
593 <a name="method_delegate">delegate</a></h4> |
|
594 <div class="detail" > |
|
595 <code> |
|
596 |
|
597 |
|
598 |
|
599 Event.Handle |
|
600 <strong property="yui:name">delegate</strong> |
|
601 ( |
|
602 |
|
603 |
|
604 type |
|
605 |
|
606 |
|
607 , |
|
608 fn |
|
609 |
|
610 |
|
611 , |
|
612 selector |
|
613 |
|
614 |
|
615 ) |
|
616 </code> |
|
617 |
|
618 <div class="description" property="yui:description"> |
|
619 Functionality to make the node a delegated event container |
|
620 </div> |
|
621 |
|
622 <div class="description"> |
|
623 |
|
624 <dl rel="yui:parameters"> |
|
625 <dt>Parameters:</dt> |
|
626 <dd rel="yui:parameter"> |
|
627 <code><span property="yui:name">type</span> |
|
628 <<span property="yui:type">String</span>> |
|
629 </code> |
|
630 <span property="yui:description"> the event type to delegate</span> |
|
631 </dd> |
|
632 <dd rel="yui:parameter"> |
|
633 <code><span property="yui:name">fn</span> |
|
634 <<span property="yui:type">Function</span>> |
|
635 </code> |
|
636 <span property="yui:description"> the function to execute</span> |
|
637 </dd> |
|
638 <dd rel="yui:parameter"> |
|
639 <code><span property="yui:name">selector</span> |
|
640 <<span property="yui:type">String</span>> |
|
641 </code> |
|
642 <span property="yui:description"> a selector that must match the target of the event.</span> |
|
643 </dd> |
|
644 </dl> |
|
645 |
|
646 <dl> |
|
647 <dt>Returns: |
|
648 <code property="yui:return"> |
|
649 Event.Handle |
|
650 </code></dt> |
|
651 <dd property="yui:returnInfo">the detach handle</dd> |
|
652 </dl> |
|
653 |
|
654 |
|
655 |
|
656 |
|
657 </div> |
|
658 |
|
659 </div> |
|
660 <hr /> |
|
661 </div> |
|
662 <div class=" deprecated" rel="yui:method" resource="#method_each"> |
|
663 <h4> |
|
664 <a name="method_each">each</a></h4> |
|
665 <div class="detail" > |
|
666 <code> |
|
667 |
|
668 |
|
669 |
|
670 void |
|
671 <strong property="yui:name">each</strong> |
|
672 ( |
|
673 |
|
674 |
|
675 fn |
|
676 |
|
677 |
|
678 , |
|
679 context |
|
680 |
|
681 |
|
682 ) |
|
683 </code> |
|
684 |
|
685 <div class="description" property="yui:description"> |
|
686 Applies the given function to each Node in the NodeList. |
|
687 </div> |
|
688 |
|
689 <div class="description"> |
|
690 |
|
691 <dl rel="yui:parameters"> |
|
692 <dt>Parameters:</dt> |
|
693 <dd rel="yui:parameter"> |
|
694 <code><span property="yui:name">fn</span> |
|
695 <<span property="yui:type">Function</span>> |
|
696 </code> |
|
697 <span property="yui:description"> The function to apply</span> |
|
698 </dd> |
|
699 <dd rel="yui:parameter"> |
|
700 <code><span property="yui:name">context</span> |
|
701 <<span property="yui:type">Object</span>> |
|
702 </code> |
|
703 <span property="yui:description"> optional An optional context to apply the function with |
|
704 Default context is the NodeList instance</span> |
|
705 </dd> |
|
706 </dl> |
|
707 |
|
708 |
|
709 <div class="chainable"> |
|
710 <strong>Chainable:</strong> This method is chainable. |
|
711 </div> |
|
712 |
|
713 |
|
714 <div class="deprecated"> |
|
715 <strong>Deprecated</strong> Use NodeList |
|
716 </div> |
|
717 |
|
718 </div> |
|
719 |
|
720 </div> |
|
721 <hr /> |
|
722 </div> |
|
723 <div class="" rel="yui:method" resource="#method_focus"> |
|
724 <h4> |
|
725 <a name="method_focus">focus</a></h4> |
|
726 <div class="detail" > |
|
727 <code> |
|
728 |
|
729 |
|
730 |
|
731 void |
|
732 <strong property="yui:name">focus</strong> |
|
733 ( |
|
734 ) |
|
735 </code> |
|
736 |
|
737 <div class="description" property="yui:description"> |
|
738 Passes through to DOM method. |
|
739 </div> |
|
740 |
|
741 <div class="description"> |
|
742 |
|
743 |
|
744 |
|
745 <div class="chainable"> |
|
746 <strong>Chainable:</strong> This method is chainable. |
|
747 </div> |
|
748 |
|
749 |
|
750 |
|
751 </div> |
|
752 |
|
753 </div> |
|
754 <hr /> |
|
755 </div> |
|
756 <div class="" rel="yui:method" resource="#method_get"> |
|
757 <h4> |
|
758 <a name="method_get">get</a></h4> |
|
759 <div class="detail" > |
|
760 <code> |
|
761 |
|
762 |
|
763 |
|
764 any |
|
765 <strong property="yui:name">get</strong> |
|
766 ( |
|
767 |
|
768 |
|
769 attr |
|
770 |
|
771 |
|
772 ) |
|
773 </code> |
|
774 |
|
775 <div class="description" property="yui:description"> |
|
776 Returns an attribute value on the Node instance |
|
777 </div> |
|
778 |
|
779 <div class="description"> |
|
780 |
|
781 <dl rel="yui:parameters"> |
|
782 <dt>Parameters:</dt> |
|
783 <dd rel="yui:parameter"> |
|
784 <code><span property="yui:name">attr</span> |
|
785 <<span property="yui:type">String</span>> |
|
786 </code> |
|
787 <span property="yui:description"> The attribute to be set</span> |
|
788 </dd> |
|
789 </dl> |
|
790 |
|
791 <dl> |
|
792 <dt>Returns: |
|
793 <code property="yui:return"> |
|
794 any |
|
795 </code></dt> |
|
796 <dd property="yui:returnInfo">The current value of the attribute</dd> |
|
797 </dl> |
|
798 |
|
799 |
|
800 |
|
801 |
|
802 </div> |
|
803 |
|
804 </div> |
|
805 <hr /> |
|
806 </div> |
|
807 <div class="" rel="yui:method" resource="#method_getAttribute"> |
|
808 <h4> |
|
809 <a name="method_getAttribute">getAttribute</a></h4> |
|
810 <div class="detail" > |
|
811 <code> |
|
812 |
|
813 |
|
814 |
|
815 string |
|
816 <strong property="yui:name">getAttribute</strong> |
|
817 ( |
|
818 |
|
819 |
|
820 name |
|
821 |
|
822 |
|
823 ) |
|
824 </code> |
|
825 |
|
826 <div class="description" property="yui:description"> |
|
827 Allows getting attributes on DOM nodes, normalizing in some cases. |
|
828 This passes through to the DOM node, allowing for custom attributes. |
|
829 </div> |
|
830 |
|
831 <div class="description"> |
|
832 |
|
833 <dl rel="yui:parameters"> |
|
834 <dt>Parameters:</dt> |
|
835 <dd rel="yui:parameter"> |
|
836 <code><span property="yui:name">name</span> |
|
837 <<span property="yui:type">string</span>> |
|
838 </code> |
|
839 <span property="yui:description"> The attribute name</span> |
|
840 </dd> |
|
841 </dl> |
|
842 |
|
843 <dl> |
|
844 <dt>Returns: |
|
845 <code property="yui:return"> |
|
846 string |
|
847 </code></dt> |
|
848 <dd property="yui:returnInfo">The attribute value</dd> |
|
849 </dl> |
|
850 |
|
851 |
|
852 |
|
853 |
|
854 </div> |
|
855 |
|
856 </div> |
|
857 <hr /> |
|
858 </div> |
|
859 <div class="" rel="yui:method" resource="#method_getAttrs"> |
|
860 <h4> |
|
861 <a name="method_getAttrs">getAttrs</a></h4> |
|
862 <div class="detail" > |
|
863 <code> |
|
864 |
|
865 |
|
866 |
|
867 Object |
|
868 <strong property="yui:name">getAttrs</strong> |
|
869 ( |
|
870 |
|
871 |
|
872 attrs |
|
873 |
|
874 |
|
875 ) |
|
876 </code> |
|
877 |
|
878 <div class="description" property="yui:description"> |
|
879 Returns an object containing the values for the requested attributes. |
|
880 </div> |
|
881 |
|
882 <div class="description"> |
|
883 |
|
884 <dl rel="yui:parameters"> |
|
885 <dt>Parameters:</dt> |
|
886 <dd rel="yui:parameter"> |
|
887 <code><span property="yui:name">attrs</span> |
|
888 <<span property="yui:type">Array</span>> |
|
889 </code> |
|
890 <span property="yui:description"> an array of attributes to get values</span> |
|
891 </dd> |
|
892 </dl> |
|
893 |
|
894 <dl> |
|
895 <dt>Returns: |
|
896 <code property="yui:return"> |
|
897 Object |
|
898 </code></dt> |
|
899 <dd property="yui:returnInfo">An object with attribute name/value pairs.</dd> |
|
900 </dl> |
|
901 |
|
902 |
|
903 |
|
904 |
|
905 </div> |
|
906 |
|
907 </div> |
|
908 <hr /> |
|
909 </div> |
|
910 <div class="" rel="yui:method" resource="#method_getComputedStyle"> |
|
911 <h4> |
|
912 <a name="method_getComputedStyle">getComputedStyle</a></h4> |
|
913 <div class="detail" > |
|
914 <code> |
|
915 |
|
916 |
|
917 |
|
918 String |
|
919 <strong property="yui:name">getComputedStyle</strong> |
|
920 ( |
|
921 |
|
922 |
|
923 attr |
|
924 |
|
925 |
|
926 ) |
|
927 </code> |
|
928 |
|
929 <div class="description" property="yui:description"> |
|
930 Returns the computed value for the given style property. |
|
931 </div> |
|
932 |
|
933 <div class="description"> |
|
934 |
|
935 <dl rel="yui:parameters"> |
|
936 <dt>Parameters:</dt> |
|
937 <dd rel="yui:parameter"> |
|
938 <code><span property="yui:name">attr</span> |
|
939 <<span property="yui:type">String</span>> |
|
940 </code> |
|
941 <span property="yui:description"> The style attribute to retrieve.</span> |
|
942 </dd> |
|
943 </dl> |
|
944 |
|
945 <dl> |
|
946 <dt>Returns: |
|
947 <code property="yui:return"> |
|
948 String |
|
949 </code></dt> |
|
950 <dd property="yui:returnInfo">The computed value of the style property for the element.</dd> |
|
951 </dl> |
|
952 |
|
953 |
|
954 |
|
955 |
|
956 </div> |
|
957 |
|
958 </div> |
|
959 <hr /> |
|
960 </div> |
|
961 <div class="" rel="yui:method" resource="#method_getElementsByTagName"> |
|
962 <h4> |
|
963 <a name="method_getElementsByTagName">getElementsByTagName</a></h4> |
|
964 <div class="detail" > |
|
965 <code> |
|
966 |
|
967 |
|
968 |
|
969 NodeList |
|
970 <strong property="yui:name">getElementsByTagName</strong> |
|
971 ( |
|
972 |
|
973 |
|
974 tagName |
|
975 |
|
976 |
|
977 ) |
|
978 </code> |
|
979 |
|
980 <div class="description" property="yui:description"> |
|
981 Passes through to DOM method. |
|
982 </div> |
|
983 |
|
984 <div class="description"> |
|
985 |
|
986 <dl rel="yui:parameters"> |
|
987 <dt>Parameters:</dt> |
|
988 <dd rel="yui:parameter"> |
|
989 <code><span property="yui:name">tagName</span> |
|
990 <<span property="yui:type">String</span>> |
|
991 </code> |
|
992 <span property="yui:description"> The tagName to collect</span> |
|
993 </dd> |
|
994 </dl> |
|
995 |
|
996 <dl> |
|
997 <dt>Returns: |
|
998 <code property="yui:return"> |
|
999 NodeList |
|
1000 </code></dt> |
|
1001 <dd property="yui:returnInfo">A NodeList representing the HTMLCollection</dd> |
|
1002 </dl> |
|
1003 |
|
1004 |
|
1005 |
|
1006 |
|
1007 </div> |
|
1008 |
|
1009 </div> |
|
1010 <hr /> |
|
1011 </div> |
|
1012 <div class="" rel="yui:method" resource="#method_getStyle"> |
|
1013 <h4> |
|
1014 <a name="method_getStyle">getStyle</a></h4> |
|
1015 <div class="detail" > |
|
1016 <code> |
|
1017 |
|
1018 |
|
1019 |
|
1020 String |
|
1021 <strong property="yui:name">getStyle</strong> |
|
1022 ( |
|
1023 |
|
1024 |
|
1025 attr |
|
1026 |
|
1027 |
|
1028 ) |
|
1029 </code> |
|
1030 |
|
1031 <div class="description" property="yui:description"> |
|
1032 Returns the style's current value. |
|
1033 </div> |
|
1034 |
|
1035 <div class="description"> |
|
1036 |
|
1037 <dl rel="yui:parameters"> |
|
1038 <dt>Parameters:</dt> |
|
1039 <dd rel="yui:parameter"> |
|
1040 <code><span property="yui:name">attr</span> |
|
1041 <<span property="yui:type">String</span>> |
|
1042 </code> |
|
1043 <span property="yui:description"> The style attribute to retrieve.</span> |
|
1044 </dd> |
|
1045 </dl> |
|
1046 |
|
1047 <dl> |
|
1048 <dt>Returns: |
|
1049 <code property="yui:return"> |
|
1050 String |
|
1051 </code></dt> |
|
1052 <dd property="yui:returnInfo">The current value of the style property for the element.</dd> |
|
1053 </dl> |
|
1054 |
|
1055 |
|
1056 |
|
1057 |
|
1058 </div> |
|
1059 |
|
1060 </div> |
|
1061 <hr /> |
|
1062 </div> |
|
1063 <div class="" rel="yui:method" resource="#method_getX"> |
|
1064 <h4> |
|
1065 <a name="method_getX">getX</a></h4> |
|
1066 <div class="detail" > |
|
1067 <code> |
|
1068 |
|
1069 |
|
1070 |
|
1071 Int |
|
1072 <strong property="yui:name">getX</strong> |
|
1073 ( |
|
1074 ) |
|
1075 </code> |
|
1076 |
|
1077 <div class="description" property="yui:description"> |
|
1078 Gets the current position of the node in page coordinates. |
|
1079 </div> |
|
1080 |
|
1081 <div class="description"> |
|
1082 |
|
1083 |
|
1084 <dl> |
|
1085 <dt>Returns: |
|
1086 <code property="yui:return"> |
|
1087 Int |
|
1088 </code></dt> |
|
1089 <dd property="yui:returnInfo">The X position of the node</dd> |
|
1090 </dl> |
|
1091 |
|
1092 |
|
1093 |
|
1094 |
|
1095 </div> |
|
1096 |
|
1097 </div> |
|
1098 <hr /> |
|
1099 </div> |
|
1100 <div class="" rel="yui:method" resource="#method_getXY"> |
|
1101 <h4> |
|
1102 <a name="method_getXY">getXY</a></h4> |
|
1103 <div class="detail" > |
|
1104 <code> |
|
1105 |
|
1106 |
|
1107 |
|
1108 Array |
|
1109 <strong property="yui:name">getXY</strong> |
|
1110 ( |
|
1111 ) |
|
1112 </code> |
|
1113 |
|
1114 <div class="description" property="yui:description"> |
|
1115 Gets the current position of the node in page coordinates. |
|
1116 </div> |
|
1117 |
|
1118 <div class="description"> |
|
1119 |
|
1120 |
|
1121 <dl> |
|
1122 <dt>Returns: |
|
1123 <code property="yui:return"> |
|
1124 Array |
|
1125 </code></dt> |
|
1126 <dd property="yui:returnInfo">The XY position of the node</dd> |
|
1127 </dl> |
|
1128 |
|
1129 |
|
1130 |
|
1131 |
|
1132 </div> |
|
1133 |
|
1134 </div> |
|
1135 <hr /> |
|
1136 </div> |
|
1137 <div class="" rel="yui:method" resource="#method_getY"> |
|
1138 <h4> |
|
1139 <a name="method_getY">getY</a></h4> |
|
1140 <div class="detail" > |
|
1141 <code> |
|
1142 |
|
1143 |
|
1144 |
|
1145 Int |
|
1146 <strong property="yui:name">getY</strong> |
|
1147 ( |
|
1148 ) |
|
1149 </code> |
|
1150 |
|
1151 <div class="description" property="yui:description"> |
|
1152 Gets the current position of the node in page coordinates. |
|
1153 </div> |
|
1154 |
|
1155 <div class="description"> |
|
1156 |
|
1157 |
|
1158 <dl> |
|
1159 <dt>Returns: |
|
1160 <code property="yui:return"> |
|
1161 Int |
|
1162 </code></dt> |
|
1163 <dd property="yui:returnInfo">The Y position of the node</dd> |
|
1164 </dl> |
|
1165 |
|
1166 |
|
1167 |
|
1168 |
|
1169 </div> |
|
1170 |
|
1171 </div> |
|
1172 <hr /> |
|
1173 </div> |
|
1174 <div class="" rel="yui:method" resource="#method_hasAttribute"> |
|
1175 <h4> |
|
1176 <a name="method_hasAttribute">hasAttribute</a></h4> |
|
1177 <div class="detail" > |
|
1178 <code> |
|
1179 |
|
1180 |
|
1181 |
|
1182 Boolean |
|
1183 <strong property="yui:name">hasAttribute</strong> |
|
1184 ( |
|
1185 |
|
1186 |
|
1187 attribute |
|
1188 |
|
1189 |
|
1190 ) |
|
1191 </code> |
|
1192 |
|
1193 <div class="description" property="yui:description"> |
|
1194 Passes through to DOM method. |
|
1195 </div> |
|
1196 |
|
1197 <div class="description"> |
|
1198 |
|
1199 <dl rel="yui:parameters"> |
|
1200 <dt>Parameters:</dt> |
|
1201 <dd rel="yui:parameter"> |
|
1202 <code><span property="yui:name">attribute</span> |
|
1203 <<span property="yui:type">String</span>> |
|
1204 </code> |
|
1205 <span property="yui:description"> The attribute to test for</span> |
|
1206 </dd> |
|
1207 </dl> |
|
1208 |
|
1209 <dl> |
|
1210 <dt>Returns: |
|
1211 <code property="yui:return"> |
|
1212 Boolean |
|
1213 </code></dt> |
|
1214 <dd property="yui:returnInfo">Whether or not the attribute is present</dd> |
|
1215 </dl> |
|
1216 |
|
1217 |
|
1218 |
|
1219 |
|
1220 </div> |
|
1221 |
|
1222 </div> |
|
1223 <hr /> |
|
1224 </div> |
|
1225 <div class="" rel="yui:method" resource="#method_hasChildNodes"> |
|
1226 <h4> |
|
1227 <a name="method_hasChildNodes">hasChildNodes</a></h4> |
|
1228 <div class="detail" > |
|
1229 <code> |
|
1230 |
|
1231 |
|
1232 |
|
1233 Boolean |
|
1234 <strong property="yui:name">hasChildNodes</strong> |
|
1235 ( |
|
1236 ) |
|
1237 </code> |
|
1238 |
|
1239 <div class="description" property="yui:description"> |
|
1240 Passes through to DOM method. |
|
1241 </div> |
|
1242 |
|
1243 <div class="description"> |
|
1244 |
|
1245 |
|
1246 <dl> |
|
1247 <dt>Returns: |
|
1248 <code property="yui:return"> |
|
1249 Boolean |
|
1250 </code></dt> |
|
1251 <dd property="yui:returnInfo">Whether or not the node has any childNodes</dd> |
|
1252 </dl> |
|
1253 |
|
1254 |
|
1255 |
|
1256 |
|
1257 </div> |
|
1258 |
|
1259 </div> |
|
1260 <hr /> |
|
1261 </div> |
|
1262 <div class="" rel="yui:method" resource="#method_hasClass"> |
|
1263 <h4> |
|
1264 <a name="method_hasClass">hasClass</a></h4> |
|
1265 <div class="detail" > |
|
1266 <code> |
|
1267 |
|
1268 |
|
1269 |
|
1270 Array |
|
1271 <strong property="yui:name">hasClass</strong> |
|
1272 ( |
|
1273 |
|
1274 |
|
1275 className |
|
1276 |
|
1277 |
|
1278 ) |
|
1279 </code> |
|
1280 |
|
1281 <div class="description" property="yui:description"> |
|
1282 Determines whether each node has the given className. |
|
1283 </div> |
|
1284 |
|
1285 <div class="description"> |
|
1286 |
|
1287 <dl rel="yui:parameters"> |
|
1288 <dt>Parameters:</dt> |
|
1289 <dd rel="yui:parameter"> |
|
1290 <code><span property="yui:name">className</span> |
|
1291 <<span property="yui:type">String</span>> |
|
1292 </code> |
|
1293 <span property="yui:description"> the class name to search for</span> |
|
1294 </dd> |
|
1295 </dl> |
|
1296 |
|
1297 <dl> |
|
1298 <dt>Returns: |
|
1299 <code property="yui:return"> |
|
1300 Array |
|
1301 </code></dt> |
|
1302 <dd property="yui:returnInfo">An array of booleans for each node bound to the NodeList.</dd> |
|
1303 </dl> |
|
1304 |
|
1305 |
|
1306 |
|
1307 |
|
1308 </div> |
|
1309 |
|
1310 </div> |
|
1311 <hr /> |
|
1312 </div> |
|
1313 <div class="" rel="yui:method" resource="#method_inDoc"> |
|
1314 <h4> |
|
1315 <a name="method_inDoc">inDoc</a></h4> |
|
1316 <div class="detail" > |
|
1317 <code> |
|
1318 |
|
1319 |
|
1320 |
|
1321 Boolean |
|
1322 <strong property="yui:name">inDoc</strong> |
|
1323 ( |
|
1324 |
|
1325 |
|
1326 doc |
|
1327 |
|
1328 |
|
1329 ) |
|
1330 </code> |
|
1331 |
|
1332 <div class="description" property="yui:description"> |
|
1333 Determines whether the node is appended to the document. |
|
1334 </div> |
|
1335 |
|
1336 <div class="description"> |
|
1337 |
|
1338 <dl rel="yui:parameters"> |
|
1339 <dt>Parameters:</dt> |
|
1340 <dd rel="yui:parameter"> |
|
1341 <code><span property="yui:name">doc</span> |
|
1342 <<span property="yui:type">Node|HTMLElement</span>> |
|
1343 </code> |
|
1344 <span property="yui:description"> optional An optional document to check against. |
|
1345 Defaults to current document.</span> |
|
1346 </dd> |
|
1347 </dl> |
|
1348 |
|
1349 <dl> |
|
1350 <dt>Returns: |
|
1351 <code property="yui:return"> |
|
1352 Boolean |
|
1353 </code></dt> |
|
1354 <dd property="yui:returnInfo">Whether or not this node is appended to the document.</dd> |
|
1355 </dl> |
|
1356 |
|
1357 |
|
1358 |
|
1359 |
|
1360 </div> |
|
1361 |
|
1362 </div> |
|
1363 <hr /> |
|
1364 </div> |
|
1365 <div class="" rel="yui:method" resource="#method_inRegion"> |
|
1366 <h4> |
|
1367 <a name="method_inRegion">inRegion</a></h4> |
|
1368 <div class="detail" > |
|
1369 <code> |
|
1370 |
|
1371 |
|
1372 |
|
1373 Object |
|
1374 <strong property="yui:name">inRegion</strong> |
|
1375 ( |
|
1376 |
|
1377 |
|
1378 node2 |
|
1379 |
|
1380 |
|
1381 , |
|
1382 all |
|
1383 |
|
1384 |
|
1385 , |
|
1386 altRegion |
|
1387 |
|
1388 |
|
1389 ) |
|
1390 </code> |
|
1391 |
|
1392 <div class="description" property="yui:description"> |
|
1393 Determines whether or not the node is within the giving region. |
|
1394 </div> |
|
1395 |
|
1396 <div class="description"> |
|
1397 |
|
1398 <dl rel="yui:parameters"> |
|
1399 <dt>Parameters:</dt> |
|
1400 <dd rel="yui:parameter"> |
|
1401 <code><span property="yui:name">node2</span> |
|
1402 <<span property="yui:type">Node|Object</span>> |
|
1403 </code> |
|
1404 <span property="yui:description"> The node or region to compare with.</span> |
|
1405 </dd> |
|
1406 <dd rel="yui:parameter"> |
|
1407 <code><span property="yui:name">all</span> |
|
1408 <<span property="yui:type">Boolean</span>> |
|
1409 </code> |
|
1410 <span property="yui:description"> Whether or not all of the node must be in the region.</span> |
|
1411 </dd> |
|
1412 <dd rel="yui:parameter"> |
|
1413 <code><span property="yui:name">altRegion</span> |
|
1414 <<span property="yui:type">Object</span>> |
|
1415 </code> |
|
1416 <span property="yui:description"> An alternate region to use (rather than this node's).</span> |
|
1417 </dd> |
|
1418 </dl> |
|
1419 |
|
1420 <dl> |
|
1421 <dt>Returns: |
|
1422 <code property="yui:return"> |
|
1423 Object |
|
1424 </code></dt> |
|
1425 <dd property="yui:returnInfo">An object representing the intersection of the regions.</dd> |
|
1426 </dl> |
|
1427 |
|
1428 |
|
1429 |
|
1430 |
|
1431 </div> |
|
1432 |
|
1433 </div> |
|
1434 <hr /> |
|
1435 </div> |
|
1436 <div class="" rel="yui:method" resource="#method_insert"> |
|
1437 <h4> |
|
1438 <a name="method_insert">insert</a></h4> |
|
1439 <div class="detail" > |
|
1440 <code> |
|
1441 |
|
1442 |
|
1443 |
|
1444 void |
|
1445 <strong property="yui:name">insert</strong> |
|
1446 ( |
|
1447 |
|
1448 |
|
1449 content |
|
1450 |
|
1451 |
|
1452 , |
|
1453 where |
|
1454 |
|
1455 |
|
1456 ) |
|
1457 </code> |
|
1458 |
|
1459 <div class="description" property="yui:description"> |
|
1460 Inserts the content before the reference node. |
|
1461 </div> |
|
1462 |
|
1463 <div class="description"> |
|
1464 |
|
1465 <dl rel="yui:parameters"> |
|
1466 <dt>Parameters:</dt> |
|
1467 <dd rel="yui:parameter"> |
|
1468 <code><span property="yui:name">content</span> |
|
1469 <<span property="yui:type">String | Y.Node | HTMLElement</span>> |
|
1470 </code> |
|
1471 <span property="yui:description"> The content to insert</span> |
|
1472 </dd> |
|
1473 <dd rel="yui:parameter"> |
|
1474 <code><span property="yui:name">where</span> |
|
1475 <<span property="yui:type">Int | Y.Node | HTMLElement | String</span>> |
|
1476 </code> |
|
1477 <span property="yui:description"> The position to insert at.</span> |
|
1478 </dd> |
|
1479 </dl> |
|
1480 |
|
1481 |
|
1482 <div class="chainable"> |
|
1483 <strong>Chainable:</strong> This method is chainable. |
|
1484 </div> |
|
1485 |
|
1486 |
|
1487 |
|
1488 </div> |
|
1489 |
|
1490 </div> |
|
1491 <hr /> |
|
1492 </div> |
|
1493 <div class="" rel="yui:method" resource="#method_insertBefore"> |
|
1494 <h4> |
|
1495 <a name="method_insertBefore">insertBefore</a></h4> |
|
1496 <div class="detail" > |
|
1497 <code> |
|
1498 |
|
1499 |
|
1500 |
|
1501 Node |
|
1502 <strong property="yui:name">insertBefore</strong> |
|
1503 ( |
|
1504 |
|
1505 |
|
1506 newNode |
|
1507 |
|
1508 |
|
1509 , |
|
1510 refNode |
|
1511 |
|
1512 |
|
1513 ) |
|
1514 </code> |
|
1515 |
|
1516 <div class="description" property="yui:description"> |
|
1517 Passes through to DOM method. |
|
1518 </div> |
|
1519 |
|
1520 <div class="description"> |
|
1521 |
|
1522 <dl rel="yui:parameters"> |
|
1523 <dt>Parameters:</dt> |
|
1524 <dd rel="yui:parameter"> |
|
1525 <code><span property="yui:name">newNode</span> |
|
1526 <<span property="yui:type">HTMLElement | Node</span>> |
|
1527 </code> |
|
1528 <span property="yui:description"> Node to be appended</span> |
|
1529 </dd> |
|
1530 <dd rel="yui:parameter"> |
|
1531 <code><span property="yui:name">refNode</span> |
|
1532 <<span property="yui:type">HTMLElement | Node</span>> |
|
1533 </code> |
|
1534 <span property="yui:description"> Node to be inserted before</span> |
|
1535 </dd> |
|
1536 </dl> |
|
1537 |
|
1538 <dl> |
|
1539 <dt>Returns: |
|
1540 <code property="yui:return"> |
|
1541 Node |
|
1542 </code></dt> |
|
1543 <dd property="yui:returnInfo">The inserted node</dd> |
|
1544 </dl> |
|
1545 |
|
1546 |
|
1547 |
|
1548 |
|
1549 </div> |
|
1550 |
|
1551 </div> |
|
1552 <hr /> |
|
1553 </div> |
|
1554 <div class="" rel="yui:method" resource="#method_intersect"> |
|
1555 <h4> |
|
1556 <a name="method_intersect">intersect</a></h4> |
|
1557 <div class="detail" > |
|
1558 <code> |
|
1559 |
|
1560 |
|
1561 |
|
1562 Object |
|
1563 <strong property="yui:name">intersect</strong> |
|
1564 ( |
|
1565 |
|
1566 |
|
1567 node2 |
|
1568 |
|
1569 |
|
1570 , |
|
1571 altRegion |
|
1572 |
|
1573 |
|
1574 ) |
|
1575 </code> |
|
1576 |
|
1577 <div class="description" property="yui:description"> |
|
1578 Compares the intersection of the node with another node or region |
|
1579 </div> |
|
1580 |
|
1581 <div class="description"> |
|
1582 |
|
1583 <dl rel="yui:parameters"> |
|
1584 <dt>Parameters:</dt> |
|
1585 <dd rel="yui:parameter"> |
|
1586 <code><span property="yui:name">node2</span> |
|
1587 <<span property="yui:type">Node|Object</span>> |
|
1588 </code> |
|
1589 <span property="yui:description"> The node or region to compare with.</span> |
|
1590 </dd> |
|
1591 <dd rel="yui:parameter"> |
|
1592 <code><span property="yui:name">altRegion</span> |
|
1593 <<span property="yui:type">Object</span>> |
|
1594 </code> |
|
1595 <span property="yui:description"> An alternate region to use (rather than this node's).</span> |
|
1596 </dd> |
|
1597 </dl> |
|
1598 |
|
1599 <dl> |
|
1600 <dt>Returns: |
|
1601 <code property="yui:return"> |
|
1602 Object |
|
1603 </code></dt> |
|
1604 <dd property="yui:returnInfo">An object representing the intersection of the regions.</dd> |
|
1605 </dl> |
|
1606 |
|
1607 |
|
1608 |
|
1609 |
|
1610 </div> |
|
1611 |
|
1612 </div> |
|
1613 <hr /> |
|
1614 </div> |
|
1615 <div class="" rel="yui:method" resource="#method_invoke"> |
|
1616 <h4> |
|
1617 <a name="method_invoke">invoke</a></h4> |
|
1618 <div class="detail" > |
|
1619 <code> |
|
1620 |
|
1621 |
|
1622 |
|
1623 |
|
1624 <strong property="yui:name">invoke</strong> |
|
1625 ( |
|
1626 |
|
1627 |
|
1628 method |
|
1629 |
|
1630 |
|
1631 , |
|
1632 a, |
|
1633 |
|
1634 |
|
1635 ) |
|
1636 </code> |
|
1637 |
|
1638 <div class="description" property="yui:description"> |
|
1639 Invokes a method on the Node instance |
|
1640 </div> |
|
1641 |
|
1642 <div class="description"> |
|
1643 |
|
1644 <dl rel="yui:parameters"> |
|
1645 <dt>Parameters:</dt> |
|
1646 <dd rel="yui:parameter"> |
|
1647 <code><span property="yui:name">method</span> |
|
1648 <<span property="yui:type">String</span>> |
|
1649 </code> |
|
1650 <span property="yui:description"> The name of the method to invoke</span> |
|
1651 </dd> |
|
1652 <dd rel="yui:parameter"> |
|
1653 <code><span property="yui:name">a,</span> |
|
1654 <<span property="yui:type">Any</span>> |
|
1655 </code> |
|
1656 <span property="yui:description"> b, c, etc. Arguments to invoke the method with.</span> |
|
1657 </dd> |
|
1658 </dl> |
|
1659 |
|
1660 <dl> |
|
1661 <dt>Returns: |
|
1662 <code property="yui:return"> |
|
1663 </code></dt> |
|
1664 <dd property="yui:returnInfo">Whatever the underly method returns. |
|
1665 DOM Nodes and Collections return values |
|
1666 are converted to Node/NodeList instances.</dd> |
|
1667 </dl> |
|
1668 |
|
1669 |
|
1670 |
|
1671 |
|
1672 </div> |
|
1673 |
|
1674 </div> |
|
1675 <hr /> |
|
1676 </div> |
|
1677 <div class=" deprecated" rel="yui:method" resource="#method_item"> |
|
1678 <h4> |
|
1679 <a name="method_item">item</a></h4> |
|
1680 <div class="detail" > |
|
1681 <code> |
|
1682 |
|
1683 |
|
1684 |
|
1685 Node |
|
1686 <strong property="yui:name">item</strong> |
|
1687 ( |
|
1688 |
|
1689 |
|
1690 index |
|
1691 |
|
1692 |
|
1693 ) |
|
1694 </code> |
|
1695 |
|
1696 <div class="description" property="yui:description"> |
|
1697 Retrieves the Node instance at the given index. |
|
1698 </div> |
|
1699 |
|
1700 <div class="description"> |
|
1701 |
|
1702 <dl rel="yui:parameters"> |
|
1703 <dt>Parameters:</dt> |
|
1704 <dd rel="yui:parameter"> |
|
1705 <code><span property="yui:name">index</span> |
|
1706 <<span property="yui:type">Number</span>> |
|
1707 </code> |
|
1708 <span property="yui:description"> The index of the target Node.</span> |
|
1709 </dd> |
|
1710 </dl> |
|
1711 |
|
1712 <dl> |
|
1713 <dt>Returns: |
|
1714 <code property="yui:return"> |
|
1715 Node |
|
1716 </code></dt> |
|
1717 <dd property="yui:returnInfo">The Node instance at the given index.</dd> |
|
1718 </dl> |
|
1719 |
|
1720 |
|
1721 |
|
1722 <div class="deprecated"> |
|
1723 <strong>Deprecated</strong> Use NodeList |
|
1724 </div> |
|
1725 |
|
1726 </div> |
|
1727 |
|
1728 </div> |
|
1729 <hr /> |
|
1730 </div> |
|
1731 <div class="" rel="yui:method" resource="#method_next"> |
|
1732 <h4> |
|
1733 <a name="method_next">next</a></h4> |
|
1734 <div class="detail" > |
|
1735 <code> |
|
1736 |
|
1737 |
|
1738 |
|
1739 Node |
|
1740 <strong property="yui:name">next</strong> |
|
1741 ( |
|
1742 |
|
1743 |
|
1744 fn |
|
1745 |
|
1746 |
|
1747 ) |
|
1748 </code> |
|
1749 |
|
1750 <div class="description" property="yui:description"> |
|
1751 Returns the next matching sibling. |
|
1752 Returns the nearest element node sibling if no method provided. |
|
1753 </div> |
|
1754 |
|
1755 <div class="description"> |
|
1756 |
|
1757 <dl rel="yui:parameters"> |
|
1758 <dt>Parameters:</dt> |
|
1759 <dd rel="yui:parameter"> |
|
1760 <code><span property="yui:name">fn</span> |
|
1761 <<span property="yui:type">String | Function</span>> |
|
1762 </code> |
|
1763 <span property="yui:description"> A selector or boolean method for testing elements. |
|
1764 If a function is used, it receives the current node being tested as the only argument.</span> |
|
1765 </dd> |
|
1766 </dl> |
|
1767 |
|
1768 <dl> |
|
1769 <dt>Returns: |
|
1770 <code property="yui:return"> |
|
1771 Node |
|
1772 </code></dt> |
|
1773 <dd property="yui:returnInfo">Node instance or null if not found</dd> |
|
1774 </dl> |
|
1775 |
|
1776 |
|
1777 |
|
1778 |
|
1779 </div> |
|
1780 |
|
1781 </div> |
|
1782 <hr /> |
|
1783 </div> |
|
1784 <div class="" rel="yui:method" resource="#method_Node.getDOMNode"> |
|
1785 <h4> |
|
1786 <a name="method_Node.getDOMNode">Node.getDOMNode</a></h4> |
|
1787 <div class="detail" > |
|
1788 <code> |
|
1789 |
|
1790 static |
|
1791 |
|
1792 HTMLNode |
|
1793 <strong property="yui:name">Node.getDOMNode</strong> |
|
1794 ( |
|
1795 |
|
1796 |
|
1797 node |
|
1798 |
|
1799 |
|
1800 ) |
|
1801 </code> |
|
1802 |
|
1803 <div class="description" property="yui:description"> |
|
1804 Retrieves the DOM node bound to a Node instance |
|
1805 </div> |
|
1806 |
|
1807 <div class="description"> |
|
1808 |
|
1809 <dl rel="yui:parameters"> |
|
1810 <dt>Parameters:</dt> |
|
1811 <dd rel="yui:parameter"> |
|
1812 <code><span property="yui:name">node</span> |
|
1813 <<span property="yui:type">Y.Node || HTMLNode</span>> |
|
1814 </code> |
|
1815 <span property="yui:description"> The Node instance or an HTMLNode</span> |
|
1816 </dd> |
|
1817 </dl> |
|
1818 |
|
1819 <dl> |
|
1820 <dt>Returns: |
|
1821 <code property="yui:return"> |
|
1822 HTMLNode |
|
1823 </code></dt> |
|
1824 <dd property="yui:returnInfo">The DOM node bound to the Node instance. If a DOM node is passed |
|
1825 as the node argument, it is simply returned.</dd> |
|
1826 </dl> |
|
1827 |
|
1828 |
|
1829 |
|
1830 |
|
1831 </div> |
|
1832 |
|
1833 </div> |
|
1834 <hr /> |
|
1835 </div> |
|
1836 <div class="" rel="yui:method" resource="#method_one"> |
|
1837 <h4> |
|
1838 <a name="method_one">one</a></h4> |
|
1839 <div class="detail" > |
|
1840 <code> |
|
1841 |
|
1842 |
|
1843 |
|
1844 Node |
|
1845 <strong property="yui:name">one</strong> |
|
1846 ( |
|
1847 |
|
1848 |
|
1849 selector |
|
1850 |
|
1851 |
|
1852 ) |
|
1853 </code> |
|
1854 |
|
1855 <div class="description" property="yui:description"> |
|
1856 Retrieves a Node instance of nodes based on the given CSS selector. |
|
1857 </div> |
|
1858 |
|
1859 <div class="description"> |
|
1860 |
|
1861 <dl rel="yui:parameters"> |
|
1862 <dt>Parameters:</dt> |
|
1863 <dd rel="yui:parameter"> |
|
1864 <code><span property="yui:name">selector</span> |
|
1865 <<span property="yui:type">string</span>> |
|
1866 </code> |
|
1867 <span property="yui:description"> The CSS selector to test against.</span> |
|
1868 </dd> |
|
1869 </dl> |
|
1870 |
|
1871 <dl> |
|
1872 <dt>Returns: |
|
1873 <code property="yui:return"> |
|
1874 Node |
|
1875 </code></dt> |
|
1876 <dd property="yui:returnInfo">A Node instance for the matching HTMLElement.</dd> |
|
1877 </dl> |
|
1878 |
|
1879 |
|
1880 |
|
1881 |
|
1882 </div> |
|
1883 |
|
1884 </div> |
|
1885 <hr /> |
|
1886 </div> |
|
1887 <div class="" rel="yui:method" resource="#method_prepend"> |
|
1888 <h4> |
|
1889 <a name="method_prepend">prepend</a></h4> |
|
1890 <div class="detail" > |
|
1891 <code> |
|
1892 |
|
1893 |
|
1894 |
|
1895 void |
|
1896 <strong property="yui:name">prepend</strong> |
|
1897 ( |
|
1898 |
|
1899 |
|
1900 content |
|
1901 |
|
1902 |
|
1903 ) |
|
1904 </code> |
|
1905 |
|
1906 <div class="description" property="yui:description"> |
|
1907 Inserts the content as the firstChild of the node. |
|
1908 </div> |
|
1909 |
|
1910 <div class="description"> |
|
1911 |
|
1912 <dl rel="yui:parameters"> |
|
1913 <dt>Parameters:</dt> |
|
1914 <dd rel="yui:parameter"> |
|
1915 <code><span property="yui:name">content</span> |
|
1916 <<span property="yui:type">String | Y.Node | HTMLElement</span>> |
|
1917 </code> |
|
1918 <span property="yui:description"> The content to insert</span> |
|
1919 </dd> |
|
1920 </dl> |
|
1921 |
|
1922 |
|
1923 <div class="chainable"> |
|
1924 <strong>Chainable:</strong> This method is chainable. |
|
1925 </div> |
|
1926 |
|
1927 |
|
1928 |
|
1929 </div> |
|
1930 |
|
1931 </div> |
|
1932 <hr /> |
|
1933 </div> |
|
1934 <div class="" rel="yui:method" resource="#method_previous"> |
|
1935 <h4> |
|
1936 <a name="method_previous">previous</a></h4> |
|
1937 <div class="detail" > |
|
1938 <code> |
|
1939 |
|
1940 |
|
1941 |
|
1942 Node |
|
1943 <strong property="yui:name">previous</strong> |
|
1944 ( |
|
1945 |
|
1946 |
|
1947 fn |
|
1948 |
|
1949 |
|
1950 ) |
|
1951 </code> |
|
1952 |
|
1953 <div class="description" property="yui:description"> |
|
1954 Returns the previous matching sibling. |
|
1955 Returns the nearest element node sibling if no method provided. |
|
1956 </div> |
|
1957 |
|
1958 <div class="description"> |
|
1959 |
|
1960 <dl rel="yui:parameters"> |
|
1961 <dt>Parameters:</dt> |
|
1962 <dd rel="yui:parameter"> |
|
1963 <code><span property="yui:name">fn</span> |
|
1964 <<span property="yui:type">String | Function</span>> |
|
1965 </code> |
|
1966 <span property="yui:description"> A selector or boolean method for testing elements. |
|
1967 If a function is used, it receives the current node being tested as the only argument.</span> |
|
1968 </dd> |
|
1969 </dl> |
|
1970 |
|
1971 <dl> |
|
1972 <dt>Returns: |
|
1973 <code property="yui:return"> |
|
1974 Node |
|
1975 </code></dt> |
|
1976 <dd property="yui:returnInfo">Node instance or null if not found</dd> |
|
1977 </dl> |
|
1978 |
|
1979 |
|
1980 |
|
1981 |
|
1982 </div> |
|
1983 |
|
1984 </div> |
|
1985 <hr /> |
|
1986 </div> |
|
1987 <div class=" deprecated" rel="yui:method" resource="#method_query"> |
|
1988 <h4> |
|
1989 <a name="method_query">query</a></h4> |
|
1990 <div class="detail" > |
|
1991 <code> |
|
1992 |
|
1993 |
|
1994 |
|
1995 Node |
|
1996 <strong property="yui:name">query</strong> |
|
1997 ( |
|
1998 |
|
1999 |
|
2000 selector |
|
2001 |
|
2002 |
|
2003 ) |
|
2004 </code> |
|
2005 |
|
2006 <div class="description" property="yui:description"> |
|
2007 Retrieves a Node instance of nodes based on the given CSS selector. |
|
2008 </div> |
|
2009 |
|
2010 <div class="description"> |
|
2011 |
|
2012 <dl rel="yui:parameters"> |
|
2013 <dt>Parameters:</dt> |
|
2014 <dd rel="yui:parameter"> |
|
2015 <code><span property="yui:name">selector</span> |
|
2016 <<span property="yui:type">string</span>> |
|
2017 </code> |
|
2018 <span property="yui:description"> The CSS selector to test against.</span> |
|
2019 </dd> |
|
2020 </dl> |
|
2021 |
|
2022 <dl> |
|
2023 <dt>Returns: |
|
2024 <code property="yui:return"> |
|
2025 Node |
|
2026 </code></dt> |
|
2027 <dd property="yui:returnInfo">A Node instance for the matching HTMLElement.</dd> |
|
2028 </dl> |
|
2029 |
|
2030 |
|
2031 |
|
2032 <div class="deprecated"> |
|
2033 <strong>Deprecated</strong> Use one() |
|
2034 </div> |
|
2035 |
|
2036 </div> |
|
2037 |
|
2038 </div> |
|
2039 <hr /> |
|
2040 </div> |
|
2041 <div class=" deprecated" rel="yui:method" resource="#method_queryAll"> |
|
2042 <h4> |
|
2043 <a name="method_queryAll">queryAll</a></h4> |
|
2044 <div class="detail" > |
|
2045 <code> |
|
2046 |
|
2047 |
|
2048 |
|
2049 NodeList |
|
2050 <strong property="yui:name">queryAll</strong> |
|
2051 ( |
|
2052 |
|
2053 |
|
2054 selector |
|
2055 |
|
2056 |
|
2057 ) |
|
2058 </code> |
|
2059 |
|
2060 <div class="description" property="yui:description"> |
|
2061 Retrieves a nodeList based on the given CSS selector. |
|
2062 </div> |
|
2063 |
|
2064 <div class="description"> |
|
2065 |
|
2066 <dl rel="yui:parameters"> |
|
2067 <dt>Parameters:</dt> |
|
2068 <dd rel="yui:parameter"> |
|
2069 <code><span property="yui:name">selector</span> |
|
2070 <<span property="yui:type">string</span>> |
|
2071 </code> |
|
2072 <span property="yui:description"> The CSS selector to test against.</span> |
|
2073 </dd> |
|
2074 </dl> |
|
2075 |
|
2076 <dl> |
|
2077 <dt>Returns: |
|
2078 <code property="yui:return"> |
|
2079 NodeList |
|
2080 </code></dt> |
|
2081 <dd property="yui:returnInfo">A NodeList instance for the matching HTMLCollection/Array.</dd> |
|
2082 </dl> |
|
2083 |
|
2084 |
|
2085 |
|
2086 <div class="deprecated"> |
|
2087 <strong>Deprecated</strong> Use all() |
|
2088 </div> |
|
2089 |
|
2090 </div> |
|
2091 |
|
2092 </div> |
|
2093 <hr /> |
|
2094 </div> |
|
2095 <div class="" rel="yui:method" resource="#method_remove"> |
|
2096 <h4> |
|
2097 <a name="method_remove">remove</a></h4> |
|
2098 <div class="detail" > |
|
2099 <code> |
|
2100 |
|
2101 |
|
2102 |
|
2103 void |
|
2104 <strong property="yui:name">remove</strong> |
|
2105 ( |
|
2106 ) |
|
2107 </code> |
|
2108 |
|
2109 <div class="description" property="yui:description"> |
|
2110 Removes the node from its parent. |
|
2111 Shortcut for myNode.get('parentNode').removeChild(myNode); |
|
2112 </div> |
|
2113 |
|
2114 <div class="description"> |
|
2115 |
|
2116 |
|
2117 |
|
2118 <div class="chainable"> |
|
2119 <strong>Chainable:</strong> This method is chainable. |
|
2120 </div> |
|
2121 |
|
2122 |
|
2123 |
|
2124 </div> |
|
2125 |
|
2126 </div> |
|
2127 <hr /> |
|
2128 </div> |
|
2129 <div class="" rel="yui:method" resource="#method_removeAttribute"> |
|
2130 <h4> |
|
2131 <a name="method_removeAttribute">removeAttribute</a></h4> |
|
2132 <div class="detail" > |
|
2133 <code> |
|
2134 |
|
2135 |
|
2136 |
|
2137 void |
|
2138 <strong property="yui:name">removeAttribute</strong> |
|
2139 ( |
|
2140 |
|
2141 |
|
2142 attribute |
|
2143 |
|
2144 |
|
2145 ) |
|
2146 </code> |
|
2147 |
|
2148 <div class="description" property="yui:description"> |
|
2149 Passes through to DOM method. |
|
2150 </div> |
|
2151 |
|
2152 <div class="description"> |
|
2153 |
|
2154 <dl rel="yui:parameters"> |
|
2155 <dt>Parameters:</dt> |
|
2156 <dd rel="yui:parameter"> |
|
2157 <code><span property="yui:name">attribute</span> |
|
2158 <<span property="yui:type">String</span>> |
|
2159 </code> |
|
2160 <span property="yui:description"> The attribute to be removed</span> |
|
2161 </dd> |
|
2162 </dl> |
|
2163 |
|
2164 |
|
2165 <div class="chainable"> |
|
2166 <strong>Chainable:</strong> This method is chainable. |
|
2167 </div> |
|
2168 |
|
2169 |
|
2170 |
|
2171 </div> |
|
2172 |
|
2173 </div> |
|
2174 <hr /> |
|
2175 </div> |
|
2176 <div class="" rel="yui:method" resource="#method_removeChild"> |
|
2177 <h4> |
|
2178 <a name="method_removeChild">removeChild</a></h4> |
|
2179 <div class="detail" > |
|
2180 <code> |
|
2181 |
|
2182 |
|
2183 |
|
2184 Node |
|
2185 <strong property="yui:name">removeChild</strong> |
|
2186 ( |
|
2187 |
|
2188 |
|
2189 node |
|
2190 |
|
2191 |
|
2192 ) |
|
2193 </code> |
|
2194 |
|
2195 <div class="description" property="yui:description"> |
|
2196 Passes through to DOM method. |
|
2197 </div> |
|
2198 |
|
2199 <div class="description"> |
|
2200 |
|
2201 <dl rel="yui:parameters"> |
|
2202 <dt>Parameters:</dt> |
|
2203 <dd rel="yui:parameter"> |
|
2204 <code><span property="yui:name">node</span> |
|
2205 <<span property="yui:type">HTMLElement | Node</span>> |
|
2206 </code> |
|
2207 <span property="yui:description"> Node to be removed</span> |
|
2208 </dd> |
|
2209 </dl> |
|
2210 |
|
2211 <dl> |
|
2212 <dt>Returns: |
|
2213 <code property="yui:return"> |
|
2214 Node |
|
2215 </code></dt> |
|
2216 <dd property="yui:returnInfo">The removed node</dd> |
|
2217 </dl> |
|
2218 |
|
2219 |
|
2220 |
|
2221 |
|
2222 </div> |
|
2223 |
|
2224 </div> |
|
2225 <hr /> |
|
2226 </div> |
|
2227 <div class="" rel="yui:method" resource="#method_removeClass"> |
|
2228 <h4> |
|
2229 <a name="method_removeClass">removeClass</a></h4> |
|
2230 <div class="detail" > |
|
2231 <code> |
|
2232 |
|
2233 |
|
2234 |
|
2235 void |
|
2236 <strong property="yui:name">removeClass</strong> |
|
2237 ( |
|
2238 |
|
2239 |
|
2240 className |
|
2241 |
|
2242 |
|
2243 ) |
|
2244 </code> |
|
2245 |
|
2246 <div class="description" property="yui:description"> |
|
2247 Removes a class name from each node. |
|
2248 </div> |
|
2249 |
|
2250 <div class="description"> |
|
2251 |
|
2252 <dl rel="yui:parameters"> |
|
2253 <dt>Parameters:</dt> |
|
2254 <dd rel="yui:parameter"> |
|
2255 <code><span property="yui:name">className</span> |
|
2256 <<span property="yui:type">String</span>> |
|
2257 </code> |
|
2258 <span property="yui:description"> the class name to remove from the node's class attribute</span> |
|
2259 </dd> |
|
2260 </dl> |
|
2261 |
|
2262 |
|
2263 <div class="chainable"> |
|
2264 <strong>Chainable:</strong> This method is chainable. |
|
2265 </div> |
|
2266 |
|
2267 |
|
2268 |
|
2269 </div> |
|
2270 |
|
2271 </div> |
|
2272 <hr /> |
|
2273 </div> |
|
2274 <div class="" rel="yui:method" resource="#method_replace"> |
|
2275 <h4> |
|
2276 <a name="method_replace">replace</a></h4> |
|
2277 <div class="detail" > |
|
2278 <code> |
|
2279 |
|
2280 |
|
2281 |
|
2282 void |
|
2283 <strong property="yui:name">replace</strong> |
|
2284 ( |
|
2285 ) |
|
2286 </code> |
|
2287 |
|
2288 <div class="description" property="yui:description"> |
|
2289 Replace the node with the other node. This is a DOM update only |
|
2290 and does not change the node bound to the Node instance. |
|
2291 Shortcut for myNode.get('parentNode').replaceChild(newNode, myNode); |
|
2292 </div> |
|
2293 |
|
2294 <div class="description"> |
|
2295 |
|
2296 |
|
2297 |
|
2298 <div class="chainable"> |
|
2299 <strong>Chainable:</strong> This method is chainable. |
|
2300 </div> |
|
2301 |
|
2302 |
|
2303 |
|
2304 </div> |
|
2305 |
|
2306 </div> |
|
2307 <hr /> |
|
2308 </div> |
|
2309 <div class="" rel="yui:method" resource="#method_replaceChild"> |
|
2310 <h4> |
|
2311 <a name="method_replaceChild">replaceChild</a></h4> |
|
2312 <div class="detail" > |
|
2313 <code> |
|
2314 |
|
2315 |
|
2316 |
|
2317 Node |
|
2318 <strong property="yui:name">replaceChild</strong> |
|
2319 ( |
|
2320 |
|
2321 |
|
2322 node |
|
2323 |
|
2324 |
|
2325 , |
|
2326 refNode |
|
2327 |
|
2328 |
|
2329 ) |
|
2330 </code> |
|
2331 |
|
2332 <div class="description" property="yui:description"> |
|
2333 Passes through to DOM method. |
|
2334 </div> |
|
2335 |
|
2336 <div class="description"> |
|
2337 |
|
2338 <dl rel="yui:parameters"> |
|
2339 <dt>Parameters:</dt> |
|
2340 <dd rel="yui:parameter"> |
|
2341 <code><span property="yui:name">node</span> |
|
2342 <<span property="yui:type">HTMLElement | Node</span>> |
|
2343 </code> |
|
2344 <span property="yui:description"> Node to be inserted</span> |
|
2345 </dd> |
|
2346 <dd rel="yui:parameter"> |
|
2347 <code><span property="yui:name">refNode</span> |
|
2348 <<span property="yui:type">HTMLElement | Node</span>> |
|
2349 </code> |
|
2350 <span property="yui:description"> Node to be replaced</span> |
|
2351 </dd> |
|
2352 </dl> |
|
2353 |
|
2354 <dl> |
|
2355 <dt>Returns: |
|
2356 <code property="yui:return"> |
|
2357 Node |
|
2358 </code></dt> |
|
2359 <dd property="yui:returnInfo">The replaced node</dd> |
|
2360 </dl> |
|
2361 |
|
2362 |
|
2363 |
|
2364 |
|
2365 </div> |
|
2366 |
|
2367 </div> |
|
2368 <hr /> |
|
2369 </div> |
|
2370 <div class="" rel="yui:method" resource="#method_replaceClass"> |
|
2371 <h4> |
|
2372 <a name="method_replaceClass">replaceClass</a></h4> |
|
2373 <div class="detail" > |
|
2374 <code> |
|
2375 |
|
2376 |
|
2377 |
|
2378 void |
|
2379 <strong property="yui:name">replaceClass</strong> |
|
2380 ( |
|
2381 |
|
2382 |
|
2383 oldClassName |
|
2384 |
|
2385 |
|
2386 , |
|
2387 newClassName |
|
2388 |
|
2389 |
|
2390 ) |
|
2391 </code> |
|
2392 |
|
2393 <div class="description" property="yui:description"> |
|
2394 Replace a class with another class for each node. |
|
2395 If no oldClassName is present, the newClassName is simply added. |
|
2396 </div> |
|
2397 |
|
2398 <div class="description"> |
|
2399 |
|
2400 <dl rel="yui:parameters"> |
|
2401 <dt>Parameters:</dt> |
|
2402 <dd rel="yui:parameter"> |
|
2403 <code><span property="yui:name">oldClassName</span> |
|
2404 <<span property="yui:type">String</span>> |
|
2405 </code> |
|
2406 <span property="yui:description"> the class name to be replaced</span> |
|
2407 </dd> |
|
2408 <dd rel="yui:parameter"> |
|
2409 <code><span property="yui:name">newClassName</span> |
|
2410 <<span property="yui:type">String</span>> |
|
2411 </code> |
|
2412 <span property="yui:description"> the class name that will be replacing the old class name</span> |
|
2413 </dd> |
|
2414 </dl> |
|
2415 |
|
2416 |
|
2417 <div class="chainable"> |
|
2418 <strong>Chainable:</strong> This method is chainable. |
|
2419 </div> |
|
2420 |
|
2421 |
|
2422 |
|
2423 </div> |
|
2424 |
|
2425 </div> |
|
2426 <hr /> |
|
2427 </div> |
|
2428 <div class="" rel="yui:method" resource="#method_reset"> |
|
2429 <h4> |
|
2430 <a name="method_reset">reset</a></h4> |
|
2431 <div class="detail" > |
|
2432 <code> |
|
2433 |
|
2434 |
|
2435 |
|
2436 void |
|
2437 <strong property="yui:name">reset</strong> |
|
2438 ( |
|
2439 ) |
|
2440 </code> |
|
2441 |
|
2442 <div class="description" property="yui:description"> |
|
2443 Passes through to DOM method. |
|
2444 Only valid on FORM elements |
|
2445 </div> |
|
2446 |
|
2447 <div class="description"> |
|
2448 |
|
2449 |
|
2450 |
|
2451 <div class="chainable"> |
|
2452 <strong>Chainable:</strong> This method is chainable. |
|
2453 </div> |
|
2454 |
|
2455 |
|
2456 |
|
2457 </div> |
|
2458 |
|
2459 </div> |
|
2460 <hr /> |
|
2461 </div> |
|
2462 <div class="" rel="yui:method" resource="#method_scrollIntoView"> |
|
2463 <h4> |
|
2464 <a name="method_scrollIntoView">scrollIntoView</a></h4> |
|
2465 <div class="detail" > |
|
2466 <code> |
|
2467 |
|
2468 |
|
2469 |
|
2470 void |
|
2471 <strong property="yui:name">scrollIntoView</strong> |
|
2472 ( |
|
2473 ) |
|
2474 </code> |
|
2475 |
|
2476 <div class="description" property="yui:description"> |
|
2477 Passes through to DOM method. |
|
2478 </div> |
|
2479 |
|
2480 <div class="description"> |
|
2481 |
|
2482 |
|
2483 |
|
2484 <div class="chainable"> |
|
2485 <strong>Chainable:</strong> This method is chainable. |
|
2486 </div> |
|
2487 |
|
2488 |
|
2489 |
|
2490 </div> |
|
2491 |
|
2492 </div> |
|
2493 <hr /> |
|
2494 </div> |
|
2495 <div class="" rel="yui:method" resource="#method_select"> |
|
2496 <h4> |
|
2497 <a name="method_select">select</a></h4> |
|
2498 <div class="detail" > |
|
2499 <code> |
|
2500 |
|
2501 |
|
2502 |
|
2503 void |
|
2504 <strong property="yui:name">select</strong> |
|
2505 ( |
|
2506 ) |
|
2507 </code> |
|
2508 |
|
2509 <div class="description" property="yui:description"> |
|
2510 Passes through to DOM method. |
|
2511 </div> |
|
2512 |
|
2513 <div class="description"> |
|
2514 |
|
2515 |
|
2516 |
|
2517 <div class="chainable"> |
|
2518 <strong>Chainable:</strong> This method is chainable. |
|
2519 </div> |
|
2520 |
|
2521 |
|
2522 |
|
2523 </div> |
|
2524 |
|
2525 </div> |
|
2526 <hr /> |
|
2527 </div> |
|
2528 <div class="" rel="yui:method" resource="#method_set"> |
|
2529 <h4> |
|
2530 <a name="method_set">set</a></h4> |
|
2531 <div class="detail" > |
|
2532 <code> |
|
2533 |
|
2534 |
|
2535 |
|
2536 void |
|
2537 <strong property="yui:name">set</strong> |
|
2538 ( |
|
2539 |
|
2540 |
|
2541 attr |
|
2542 |
|
2543 |
|
2544 , |
|
2545 val |
|
2546 |
|
2547 |
|
2548 ) |
|
2549 </code> |
|
2550 |
|
2551 <div class="description" property="yui:description"> |
|
2552 Sets an attribute on the Node instance. |
|
2553 </div> |
|
2554 |
|
2555 <div class="description"> |
|
2556 |
|
2557 <dl rel="yui:parameters"> |
|
2558 <dt>Parameters:</dt> |
|
2559 <dd rel="yui:parameter"> |
|
2560 <code><span property="yui:name">attr</span> |
|
2561 <<span property="yui:type">String</span>> |
|
2562 </code> |
|
2563 <span property="yui:description"> The attribute to be set.</span> |
|
2564 </dd> |
|
2565 <dd rel="yui:parameter"> |
|
2566 <code><span property="yui:name">val</span> |
|
2567 <<span property="yui:type">any</span>> |
|
2568 </code> |
|
2569 <span property="yui:description"> The value to set the attribute to.</span> |
|
2570 </dd> |
|
2571 </dl> |
|
2572 |
|
2573 |
|
2574 <div class="chainable"> |
|
2575 <strong>Chainable:</strong> This method is chainable. |
|
2576 </div> |
|
2577 |
|
2578 |
|
2579 |
|
2580 </div> |
|
2581 |
|
2582 </div> |
|
2583 <hr /> |
|
2584 </div> |
|
2585 <div class="" rel="yui:method" resource="#method_setAttribute"> |
|
2586 <h4> |
|
2587 <a name="method_setAttribute">setAttribute</a></h4> |
|
2588 <div class="detail" > |
|
2589 <code> |
|
2590 |
|
2591 |
|
2592 |
|
2593 void |
|
2594 <strong property="yui:name">setAttribute</strong> |
|
2595 ( |
|
2596 |
|
2597 |
|
2598 name |
|
2599 |
|
2600 |
|
2601 , |
|
2602 value |
|
2603 |
|
2604 |
|
2605 ) |
|
2606 </code> |
|
2607 |
|
2608 <div class="description" property="yui:description"> |
|
2609 Allows setting attributes on DOM nodes, normalizing in some cases. |
|
2610 This passes through to the DOM node, allowing for custom attributes. |
|
2611 </div> |
|
2612 |
|
2613 <div class="description"> |
|
2614 |
|
2615 <dl rel="yui:parameters"> |
|
2616 <dt>Parameters:</dt> |
|
2617 <dd rel="yui:parameter"> |
|
2618 <code><span property="yui:name">name</span> |
|
2619 <<span property="yui:type">string</span>> |
|
2620 </code> |
|
2621 <span property="yui:description"> The attribute name</span> |
|
2622 </dd> |
|
2623 <dd rel="yui:parameter"> |
|
2624 <code><span property="yui:name">value</span> |
|
2625 <<span property="yui:type">string</span>> |
|
2626 </code> |
|
2627 <span property="yui:description"> The value to set</span> |
|
2628 </dd> |
|
2629 </dl> |
|
2630 |
|
2631 |
|
2632 <div class="chainable"> |
|
2633 <strong>Chainable:</strong> This method is chainable. |
|
2634 </div> |
|
2635 |
|
2636 |
|
2637 |
|
2638 </div> |
|
2639 |
|
2640 </div> |
|
2641 <hr /> |
|
2642 </div> |
|
2643 <div class="" rel="yui:method" resource="#method_setAttrs"> |
|
2644 <h4> |
|
2645 <a name="method_setAttrs">setAttrs</a></h4> |
|
2646 <div class="detail" > |
|
2647 <code> |
|
2648 |
|
2649 |
|
2650 |
|
2651 void |
|
2652 <strong property="yui:name">setAttrs</strong> |
|
2653 ( |
|
2654 |
|
2655 |
|
2656 attrMap |
|
2657 |
|
2658 |
|
2659 ) |
|
2660 </code> |
|
2661 |
|
2662 <div class="description" property="yui:description"> |
|
2663 Sets multiple attributes. |
|
2664 </div> |
|
2665 |
|
2666 <div class="description"> |
|
2667 |
|
2668 <dl rel="yui:parameters"> |
|
2669 <dt>Parameters:</dt> |
|
2670 <dd rel="yui:parameter"> |
|
2671 <code><span property="yui:name">attrMap</span> |
|
2672 <<span property="yui:type">Object</span>> |
|
2673 </code> |
|
2674 <span property="yui:description"> an object of name/value pairs to set</span> |
|
2675 </dd> |
|
2676 </dl> |
|
2677 |
|
2678 |
|
2679 <div class="chainable"> |
|
2680 <strong>Chainable:</strong> This method is chainable. |
|
2681 </div> |
|
2682 |
|
2683 |
|
2684 |
|
2685 </div> |
|
2686 |
|
2687 </div> |
|
2688 <hr /> |
|
2689 </div> |
|
2690 <div class="" rel="yui:method" resource="#method_setContent"> |
|
2691 <h4> |
|
2692 <a name="method_setContent">setContent</a></h4> |
|
2693 <div class="detail" > |
|
2694 <code> |
|
2695 |
|
2696 |
|
2697 |
|
2698 void |
|
2699 <strong property="yui:name">setContent</strong> |
|
2700 ( |
|
2701 |
|
2702 |
|
2703 content |
|
2704 |
|
2705 |
|
2706 ) |
|
2707 </code> |
|
2708 |
|
2709 <div class="description" property="yui:description"> |
|
2710 Replaces the node's current content with the content. |
|
2711 </div> |
|
2712 |
|
2713 <div class="description"> |
|
2714 |
|
2715 <dl rel="yui:parameters"> |
|
2716 <dt>Parameters:</dt> |
|
2717 <dd rel="yui:parameter"> |
|
2718 <code><span property="yui:name">content</span> |
|
2719 <<span property="yui:type">String | Y.Node | HTMLElement</span>> |
|
2720 </code> |
|
2721 <span property="yui:description"> The content to insert</span> |
|
2722 </dd> |
|
2723 </dl> |
|
2724 |
|
2725 |
|
2726 <div class="chainable"> |
|
2727 <strong>Chainable:</strong> This method is chainable. |
|
2728 </div> |
|
2729 |
|
2730 |
|
2731 |
|
2732 </div> |
|
2733 |
|
2734 </div> |
|
2735 <hr /> |
|
2736 </div> |
|
2737 <div class="" rel="yui:method" resource="#method_setStyle"> |
|
2738 <h4> |
|
2739 <a name="method_setStyle">setStyle</a></h4> |
|
2740 <div class="detail" > |
|
2741 <code> |
|
2742 |
|
2743 |
|
2744 |
|
2745 void |
|
2746 <strong property="yui:name">setStyle</strong> |
|
2747 ( |
|
2748 |
|
2749 |
|
2750 attr |
|
2751 |
|
2752 |
|
2753 , |
|
2754 val |
|
2755 |
|
2756 |
|
2757 ) |
|
2758 </code> |
|
2759 |
|
2760 <div class="description" property="yui:description"> |
|
2761 Sets a style property of the node. |
|
2762 </div> |
|
2763 |
|
2764 <div class="description"> |
|
2765 |
|
2766 <dl rel="yui:parameters"> |
|
2767 <dt>Parameters:</dt> |
|
2768 <dd rel="yui:parameter"> |
|
2769 <code><span property="yui:name">attr</span> |
|
2770 <<span property="yui:type">String</span>> |
|
2771 </code> |
|
2772 <span property="yui:description"> The style attribute to set.</span> |
|
2773 </dd> |
|
2774 <dd rel="yui:parameter"> |
|
2775 <code><span property="yui:name">val</span> |
|
2776 <<span property="yui:type">String|Number</span>> |
|
2777 </code> |
|
2778 <span property="yui:description"> The value.</span> |
|
2779 </dd> |
|
2780 </dl> |
|
2781 |
|
2782 |
|
2783 <div class="chainable"> |
|
2784 <strong>Chainable:</strong> This method is chainable. |
|
2785 </div> |
|
2786 |
|
2787 |
|
2788 |
|
2789 </div> |
|
2790 |
|
2791 </div> |
|
2792 <hr /> |
|
2793 </div> |
|
2794 <div class="" rel="yui:method" resource="#method_setStyles"> |
|
2795 <h4> |
|
2796 <a name="method_setStyles">setStyles</a></h4> |
|
2797 <div class="detail" > |
|
2798 <code> |
|
2799 |
|
2800 |
|
2801 |
|
2802 void |
|
2803 <strong property="yui:name">setStyles</strong> |
|
2804 ( |
|
2805 |
|
2806 |
|
2807 hash |
|
2808 |
|
2809 |
|
2810 ) |
|
2811 </code> |
|
2812 |
|
2813 <div class="description" property="yui:description"> |
|
2814 Sets multiple style properties on the node. |
|
2815 </div> |
|
2816 |
|
2817 <div class="description"> |
|
2818 |
|
2819 <dl rel="yui:parameters"> |
|
2820 <dt>Parameters:</dt> |
|
2821 <dd rel="yui:parameter"> |
|
2822 <code><span property="yui:name">hash</span> |
|
2823 <<span property="yui:type">Object</span>> |
|
2824 </code> |
|
2825 <span property="yui:description"> An object literal of property:value pairs.</span> |
|
2826 </dd> |
|
2827 </dl> |
|
2828 |
|
2829 |
|
2830 <div class="chainable"> |
|
2831 <strong>Chainable:</strong> This method is chainable. |
|
2832 </div> |
|
2833 |
|
2834 |
|
2835 |
|
2836 </div> |
|
2837 |
|
2838 </div> |
|
2839 <hr /> |
|
2840 </div> |
|
2841 <div class="" rel="yui:method" resource="#method_setX"> |
|
2842 <h4> |
|
2843 <a name="method_setX">setX</a></h4> |
|
2844 <div class="detail" > |
|
2845 <code> |
|
2846 |
|
2847 |
|
2848 |
|
2849 void |
|
2850 <strong property="yui:name">setX</strong> |
|
2851 ( |
|
2852 |
|
2853 |
|
2854 x |
|
2855 |
|
2856 |
|
2857 ) |
|
2858 </code> |
|
2859 |
|
2860 <div class="description" property="yui:description"> |
|
2861 Set the position of the node in page coordinates, regardless of how the node is positioned. |
|
2862 </div> |
|
2863 |
|
2864 <div class="description"> |
|
2865 |
|
2866 <dl rel="yui:parameters"> |
|
2867 <dt>Parameters:</dt> |
|
2868 <dd rel="yui:parameter"> |
|
2869 <code><span property="yui:name">x</span> |
|
2870 <<span property="yui:type">Int</span>> |
|
2871 </code> |
|
2872 <span property="yui:description"> X value for new position (coordinates are page-based)</span> |
|
2873 </dd> |
|
2874 </dl> |
|
2875 |
|
2876 |
|
2877 <div class="chainable"> |
|
2878 <strong>Chainable:</strong> This method is chainable. |
|
2879 </div> |
|
2880 |
|
2881 |
|
2882 |
|
2883 </div> |
|
2884 |
|
2885 </div> |
|
2886 <hr /> |
|
2887 </div> |
|
2888 <div class="" rel="yui:method" resource="#method_setXY"> |
|
2889 <h4> |
|
2890 <a name="method_setXY">setXY</a></h4> |
|
2891 <div class="detail" > |
|
2892 <code> |
|
2893 |
|
2894 |
|
2895 |
|
2896 void |
|
2897 <strong property="yui:name">setXY</strong> |
|
2898 ( |
|
2899 |
|
2900 |
|
2901 xy |
|
2902 |
|
2903 |
|
2904 ) |
|
2905 </code> |
|
2906 |
|
2907 <div class="description" property="yui:description"> |
|
2908 Set the position of the node in page coordinates, regardless of how the node is positioned. |
|
2909 </div> |
|
2910 |
|
2911 <div class="description"> |
|
2912 |
|
2913 <dl rel="yui:parameters"> |
|
2914 <dt>Parameters:</dt> |
|
2915 <dd rel="yui:parameter"> |
|
2916 <code><span property="yui:name">xy</span> |
|
2917 <<span property="yui:type">Array</span>> |
|
2918 </code> |
|
2919 <span property="yui:description"> Contains X & Y values for new position (coordinates are page-based)</span> |
|
2920 </dd> |
|
2921 </dl> |
|
2922 |
|
2923 |
|
2924 <div class="chainable"> |
|
2925 <strong>Chainable:</strong> This method is chainable. |
|
2926 </div> |
|
2927 |
|
2928 |
|
2929 |
|
2930 </div> |
|
2931 |
|
2932 </div> |
|
2933 <hr /> |
|
2934 </div> |
|
2935 <div class="" rel="yui:method" resource="#method_setY"> |
|
2936 <h4> |
|
2937 <a name="method_setY">setY</a></h4> |
|
2938 <div class="detail" > |
|
2939 <code> |
|
2940 |
|
2941 |
|
2942 |
|
2943 void |
|
2944 <strong property="yui:name">setY</strong> |
|
2945 ( |
|
2946 |
|
2947 |
|
2948 y |
|
2949 |
|
2950 |
|
2951 ) |
|
2952 </code> |
|
2953 |
|
2954 <div class="description" property="yui:description"> |
|
2955 Set the position of the node in page coordinates, regardless of how the node is positioned. |
|
2956 </div> |
|
2957 |
|
2958 <div class="description"> |
|
2959 |
|
2960 <dl rel="yui:parameters"> |
|
2961 <dt>Parameters:</dt> |
|
2962 <dd rel="yui:parameter"> |
|
2963 <code><span property="yui:name">y</span> |
|
2964 <<span property="yui:type">Int</span>> |
|
2965 </code> |
|
2966 <span property="yui:description"> Y value for new position (coordinates are page-based)</span> |
|
2967 </dd> |
|
2968 </dl> |
|
2969 |
|
2970 |
|
2971 <div class="chainable"> |
|
2972 <strong>Chainable:</strong> This method is chainable. |
|
2973 </div> |
|
2974 |
|
2975 |
|
2976 |
|
2977 </div> |
|
2978 |
|
2979 </div> |
|
2980 <hr /> |
|
2981 </div> |
|
2982 <div class="" rel="yui:method" resource="#method_simulate"> |
|
2983 <h4> |
|
2984 <a name="method_simulate">simulate</a></h4> |
|
2985 <div class="detail" > |
|
2986 <code> |
|
2987 |
|
2988 static |
|
2989 |
|
2990 void |
|
2991 <strong property="yui:name">simulate</strong> |
|
2992 ( |
|
2993 |
|
2994 |
|
2995 type |
|
2996 |
|
2997 |
|
2998 , |
|
2999 options |
|
3000 |
|
3001 |
|
3002 ) |
|
3003 </code> |
|
3004 |
|
3005 <div class="description" property="yui:description"> |
|
3006 Simulates an event on the node. |
|
3007 </div> |
|
3008 |
|
3009 <div class="description"> |
|
3010 |
|
3011 <dl rel="yui:parameters"> |
|
3012 <dt>Parameters:</dt> |
|
3013 <dd rel="yui:parameter"> |
|
3014 <code><span property="yui:name">type</span> |
|
3015 <<span property="yui:type">String</span>> |
|
3016 </code> |
|
3017 <span property="yui:description"> The type of event to simulate (i.e., "click").</span> |
|
3018 </dd> |
|
3019 <dd rel="yui:parameter"> |
|
3020 <code><span property="yui:name">options</span> |
|
3021 <<span property="yui:type">Object</span>> |
|
3022 </code> |
|
3023 <span property="yui:description"> (Optional) Extra options to copy onto the event object.</span> |
|
3024 </dd> |
|
3025 </dl> |
|
3026 |
|
3027 |
|
3028 |
|
3029 |
|
3030 |
|
3031 </div> |
|
3032 |
|
3033 </div> |
|
3034 <hr /> |
|
3035 </div> |
|
3036 <div class=" deprecated" rel="yui:method" resource="#method_size"> |
|
3037 <h4> |
|
3038 <a name="method_size">size</a></h4> |
|
3039 <div class="detail" > |
|
3040 <code> |
|
3041 |
|
3042 |
|
3043 |
|
3044 Int |
|
3045 <strong property="yui:name">size</strong> |
|
3046 ( |
|
3047 ) |
|
3048 </code> |
|
3049 |
|
3050 <div class="description" property="yui:description"> |
|
3051 Returns the current number of items in the Node. |
|
3052 </div> |
|
3053 |
|
3054 <div class="description"> |
|
3055 |
|
3056 |
|
3057 <dl> |
|
3058 <dt>Returns: |
|
3059 <code property="yui:return"> |
|
3060 Int |
|
3061 </code></dt> |
|
3062 <dd property="yui:returnInfo">The number of items in the Node.</dd> |
|
3063 </dl> |
|
3064 |
|
3065 |
|
3066 |
|
3067 <div class="deprecated"> |
|
3068 <strong>Deprecated</strong> Use NodeList |
|
3069 </div> |
|
3070 |
|
3071 </div> |
|
3072 |
|
3073 </div> |
|
3074 <hr /> |
|
3075 </div> |
|
3076 <div class="" rel="yui:method" resource="#method_submit"> |
|
3077 <h4> |
|
3078 <a name="method_submit">submit</a></h4> |
|
3079 <div class="detail" > |
|
3080 <code> |
|
3081 |
|
3082 |
|
3083 |
|
3084 void |
|
3085 <strong property="yui:name">submit</strong> |
|
3086 ( |
|
3087 ) |
|
3088 </code> |
|
3089 |
|
3090 <div class="description" property="yui:description"> |
|
3091 Passes through to DOM method. |
|
3092 Only valid on FORM elements |
|
3093 </div> |
|
3094 |
|
3095 <div class="description"> |
|
3096 |
|
3097 |
|
3098 |
|
3099 <div class="chainable"> |
|
3100 <strong>Chainable:</strong> This method is chainable. |
|
3101 </div> |
|
3102 |
|
3103 |
|
3104 |
|
3105 </div> |
|
3106 |
|
3107 </div> |
|
3108 <hr /> |
|
3109 </div> |
|
3110 <div class="" rel="yui:method" resource="#method_test"> |
|
3111 <h4> |
|
3112 <a name="method_test">test</a></h4> |
|
3113 <div class="detail" > |
|
3114 <code> |
|
3115 |
|
3116 |
|
3117 |
|
3118 boolean |
|
3119 <strong property="yui:name">test</strong> |
|
3120 ( |
|
3121 |
|
3122 |
|
3123 selector |
|
3124 |
|
3125 |
|
3126 ) |
|
3127 </code> |
|
3128 |
|
3129 <div class="description" property="yui:description"> |
|
3130 Test if the supplied node matches the supplied selector. |
|
3131 </div> |
|
3132 |
|
3133 <div class="description"> |
|
3134 |
|
3135 <dl rel="yui:parameters"> |
|
3136 <dt>Parameters:</dt> |
|
3137 <dd rel="yui:parameter"> |
|
3138 <code><span property="yui:name">selector</span> |
|
3139 <<span property="yui:type">string</span>> |
|
3140 </code> |
|
3141 <span property="yui:description"> The CSS selector to test against.</span> |
|
3142 </dd> |
|
3143 </dl> |
|
3144 |
|
3145 <dl> |
|
3146 <dt>Returns: |
|
3147 <code property="yui:return"> |
|
3148 boolean |
|
3149 </code></dt> |
|
3150 <dd property="yui:returnInfo">Whether or not the node matches the selector.</dd> |
|
3151 </dl> |
|
3152 |
|
3153 |
|
3154 |
|
3155 |
|
3156 </div> |
|
3157 |
|
3158 </div> |
|
3159 <hr /> |
|
3160 </div> |
|
3161 <div class="" rel="yui:method" resource="#method_toggleClass"> |
|
3162 <h4> |
|
3163 <a name="method_toggleClass">toggleClass</a></h4> |
|
3164 <div class="detail" > |
|
3165 <code> |
|
3166 |
|
3167 |
|
3168 |
|
3169 void |
|
3170 <strong property="yui:name">toggleClass</strong> |
|
3171 ( |
|
3172 |
|
3173 |
|
3174 className |
|
3175 |
|
3176 |
|
3177 ) |
|
3178 </code> |
|
3179 |
|
3180 <div class="description" property="yui:description"> |
|
3181 If the className exists on the node it is removed, if it doesn't exist it is added. |
|
3182 </div> |
|
3183 |
|
3184 <div class="description"> |
|
3185 |
|
3186 <dl rel="yui:parameters"> |
|
3187 <dt>Parameters:</dt> |
|
3188 <dd rel="yui:parameter"> |
|
3189 <code><span property="yui:name">className</span> |
|
3190 <<span property="yui:type">String</span>> |
|
3191 </code> |
|
3192 <span property="yui:description"> the class name to be toggled</span> |
|
3193 </dd> |
|
3194 </dl> |
|
3195 |
|
3196 |
|
3197 <div class="chainable"> |
|
3198 <strong>Chainable:</strong> This method is chainable. |
|
3199 </div> |
|
3200 |
|
3201 |
|
3202 |
|
3203 </div> |
|
3204 |
|
3205 </div> |
|
3206 <hr /> |
|
3207 </div> |
|
3208 <div class=" deprecated" rel="yui:method" resource="#method_Y.get"> |
|
3209 <h4> |
|
3210 <a name="method_Y.get">Y.get</a></h4> |
|
3211 <div class="detail" > |
|
3212 <code> |
|
3213 |
|
3214 static |
|
3215 |
|
3216 void |
|
3217 <strong property="yui:name">Y.get</strong> |
|
3218 ( |
|
3219 |
|
3220 |
|
3221 node |
|
3222 |
|
3223 |
|
3224 , |
|
3225 doc |
|
3226 |
|
3227 |
|
3228 ) |
|
3229 </code> |
|
3230 |
|
3231 <div class="description" property="yui:description"> |
|
3232 Returns a single Node instance bound to the node or the |
|
3233 first element matching the given selector. |
|
3234 </div> |
|
3235 |
|
3236 <div class="description"> |
|
3237 |
|
3238 <dl rel="yui:parameters"> |
|
3239 <dt>Parameters:</dt> |
|
3240 <dd rel="yui:parameter"> |
|
3241 <code><span property="yui:name">node</span> |
|
3242 <<span property="yui:type">String | HTMLElement</span>> |
|
3243 </code> |
|
3244 <span property="yui:description"> a node or Selector</span> |
|
3245 </dd> |
|
3246 <dd rel="yui:parameter"> |
|
3247 <code><span property="yui:name">doc</span> |
|
3248 <<span property="yui:type">Y.Node || HTMLElement</span>> |
|
3249 </code> |
|
3250 <span property="yui:description"> an optional document to scan. Defaults to Y.config.doc.</span> |
|
3251 </dd> |
|
3252 </dl> |
|
3253 |
|
3254 |
|
3255 |
|
3256 |
|
3257 <div class="deprecated"> |
|
3258 <strong>Deprecated</strong> Use Y.one |
|
3259 </div> |
|
3260 |
|
3261 </div> |
|
3262 |
|
3263 </div> |
|
3264 <hr /> |
|
3265 </div> |
|
3266 <div class="" rel="yui:method" resource="#method_Y.one"> |
|
3267 <h4> |
|
3268 <a name="method_Y.one">Y.one</a></h4> |
|
3269 <div class="detail" > |
|
3270 <code> |
|
3271 |
|
3272 static |
|
3273 |
|
3274 void |
|
3275 <strong property="yui:name">Y.one</strong> |
|
3276 ( |
|
3277 |
|
3278 |
|
3279 node |
|
3280 |
|
3281 |
|
3282 , |
|
3283 doc |
|
3284 |
|
3285 |
|
3286 ) |
|
3287 </code> |
|
3288 |
|
3289 <div class="description" property="yui:description"> |
|
3290 Returns a single Node instance bound to the node or the |
|
3291 first element matching the given selector. |
|
3292 </div> |
|
3293 |
|
3294 <div class="description"> |
|
3295 |
|
3296 <dl rel="yui:parameters"> |
|
3297 <dt>Parameters:</dt> |
|
3298 <dd rel="yui:parameter"> |
|
3299 <code><span property="yui:name">node</span> |
|
3300 <<span property="yui:type">String | HTMLElement</span>> |
|
3301 </code> |
|
3302 <span property="yui:description"> a node or Selector</span> |
|
3303 </dd> |
|
3304 <dd rel="yui:parameter"> |
|
3305 <code><span property="yui:name">doc</span> |
|
3306 <<span property="yui:type">Y.Node || HTMLElement</span>> |
|
3307 </code> |
|
3308 <span property="yui:description"> an optional document to scan. Defaults to Y.config.doc.</span> |
|
3309 </dd> |
|
3310 </dl> |
|
3311 |
|
3312 |
|
3313 |
|
3314 |
|
3315 |
|
3316 </div> |
|
3317 |
|
3318 </div> |
|
3319 <hr /> |
|
3320 </div> |
|
3321 </div> |
|
3322 </div> |
|
3323 |
|
3324 </div> |
|
3325 |
|
3326 <div rel="yui:events" resource="#events"> |
|
3327 |
|
3328 |
|
3329 </div> |
|
3330 |
|
3331 <div rel="yui:attributes" resource="#configattributes"> |
|
3332 <div class="section field details"> |
|
3333 <h3 id="configattributes">Configuration Attributes</h3> |
|
3334 <div class="content"> |
|
3335 <div class="" rel="yui:attribute" resource="#config_children"> |
|
3336 <h4><a name="config_children">children</a> |
|
3337 <code>- <span property="yui:type">NodeList</span></code> |
|
3338 </h4> |
|
3339 <div class="detail"> |
|
3340 <div class="description" property="yui:description"> |
|
3341 Returns a NodeList instance of all HTMLElement children. |
|
3342 </div> |
|
3343 </div> |
|
3344 |
|
3345 |
|
3346 |
|
3347 <hr /> |
|
3348 </div> |
|
3349 <div class="" rel="yui:attribute" resource="#config_docHeight"> |
|
3350 <h4><a name="config_docHeight">docHeight</a> |
|
3351 <code>- <span property="yui:type">{Int}</span></code> |
|
3352 </h4> |
|
3353 <div class="detail"> |
|
3354 <div class="description" property="yui:description"> |
|
3355 Document height |
|
3356 </div> |
|
3357 </div> |
|
3358 |
|
3359 |
|
3360 |
|
3361 <hr /> |
|
3362 </div> |
|
3363 <div class="" rel="yui:attribute" resource="#config_docScrollX"> |
|
3364 <h4><a name="config_docScrollX">docScrollX</a> |
|
3365 <code>- <span property="yui:type">{Int}</span></code> |
|
3366 </h4> |
|
3367 <div class="detail"> |
|
3368 <div class="description" property="yui:description"> |
|
3369 Amount page has been scroll vertically |
|
3370 </div> |
|
3371 </div> |
|
3372 |
|
3373 |
|
3374 |
|
3375 <hr /> |
|
3376 </div> |
|
3377 <div class="" rel="yui:attribute" resource="#config_docScrollY"> |
|
3378 <h4><a name="config_docScrollY">docScrollY</a> |
|
3379 <code>- <span property="yui:type">{Int}</span></code> |
|
3380 </h4> |
|
3381 <div class="detail"> |
|
3382 <div class="description" property="yui:description"> |
|
3383 Amount page has been scroll horizontally |
|
3384 </div> |
|
3385 </div> |
|
3386 |
|
3387 |
|
3388 |
|
3389 <hr /> |
|
3390 </div> |
|
3391 <div class="" rel="yui:attribute" resource="#config_region"> |
|
3392 <h4><a name="config_region">region</a> |
|
3393 <code>- <span property="yui:type">Node</span></code> |
|
3394 </h4> |
|
3395 <div class="detail"> |
|
3396 <div class="description" property="yui:description"> |
|
3397 Returns a region object for the node |
|
3398 </div> |
|
3399 </div> |
|
3400 |
|
3401 |
|
3402 |
|
3403 <hr /> |
|
3404 </div> |
|
3405 <div class="" rel="yui:attribute" resource="#config_text"> |
|
3406 <h4><a name="config_text">text</a> |
|
3407 <code>- <span property="yui:type">String</span></code> |
|
3408 </h4> |
|
3409 <div class="detail"> |
|
3410 <div class="description" property="yui:description"> |
|
3411 Allows for getting and setting the text of an element. |
|
3412 Formatting is preserved and special characters are treated literally. |
|
3413 </div> |
|
3414 </div> |
|
3415 |
|
3416 |
|
3417 |
|
3418 <hr /> |
|
3419 </div> |
|
3420 <div class="" rel="yui:attribute" resource="#config_viewportRegion"> |
|
3421 <h4><a name="config_viewportRegion">viewportRegion</a> |
|
3422 <code>- <span property="yui:type">Node</span></code> |
|
3423 </h4> |
|
3424 <div class="detail"> |
|
3425 <div class="description" property="yui:description"> |
|
3426 Returns a region object for the node's viewport |
|
3427 </div> |
|
3428 </div> |
|
3429 |
|
3430 |
|
3431 |
|
3432 <hr /> |
|
3433 </div> |
|
3434 <div class="" rel="yui:attribute" resource="#config_winHeight"> |
|
3435 <h4><a name="config_winHeight">winHeight</a> |
|
3436 <code>- <span property="yui:type">{Int}</span></code> |
|
3437 </h4> |
|
3438 <div class="detail"> |
|
3439 <div class="description" property="yui:description"> |
|
3440 Returns the inner height of the viewport (exludes scrollbar). |
|
3441 </div> |
|
3442 </div> |
|
3443 |
|
3444 |
|
3445 |
|
3446 <hr /> |
|
3447 </div> |
|
3448 <div class="" rel="yui:attribute" resource="#config_winWidth"> |
|
3449 <h4><a name="config_winWidth">winWidth</a> |
|
3450 <code>- <span property="yui:type">{Int}</span></code> |
|
3451 </h4> |
|
3452 <div class="detail"> |
|
3453 <div class="description" property="yui:description"> |
|
3454 Returns the inner width of the viewport (exludes scrollbar). |
|
3455 </div> |
|
3456 </div> |
|
3457 |
|
3458 |
|
3459 |
|
3460 <hr /> |
|
3461 </div> |
|
3462 |
|
3463 </div> |
|
3464 </div> |
|
3465 |
|
3466 </div> |
|
3467 |
|
3468 </div> |
|
3469 </div> |
|
3470 <div class="yui-b"> |
|
3471 <div class="nav"> |
|
3472 |
|
3473 <div id="moduleList" class="module"> |
|
3474 <h4>Modules</h4> |
|
3475 <ul class="content"> |
|
3476 <li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
3477 <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
3478 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
3479 <li class=""><a href="module_base.html" title="base">base</a></li> |
|
3480 <li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
3481 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
3482 <li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
3483 <li class=""><a href="module_console.html" title="console">console</a></li> |
|
3484 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
3485 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
3486 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
3487 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
3488 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
3489 <li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
3490 <li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
3491 <li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
3492 <li class=""><a href="module_event.html" title="event">event</a></li> |
|
3493 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
3494 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
3495 <li class=""><a href="module_history.html" title="history">history</a></li> |
|
3496 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
3497 <li class=""><a href="module_io.html" title="io">io</a></li> |
|
3498 <li class=""><a href="module_json.html" title="json">json</a></li> |
|
3499 <li class="selected"><a href="module_node.html" title="node">node</a></li> |
|
3500 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
3501 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
3502 <li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
3503 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
3504 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
3505 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
3506 <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
3507 <li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
3508 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
3509 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
3510 <li class=""><a href="module_test.html" title="test">test</a></li> |
|
3511 <li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
3512 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
3513 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
3514 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
3515 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
3516 <li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
3517 </ul> |
|
3518 </div> |
|
3519 |
|
3520 <div id="classList" class="module"> |
|
3521 <h4>Classes</h4> |
|
3522 <ul class="content"> |
|
3523 <li class="selected"><a href="Node.html" title="Node">Node</a></li> |
|
3524 <li class=""><a href="NodeList.html" title="NodeList">NodeList</a></li> |
|
3525 </ul> |
|
3526 </div> |
|
3527 |
|
3528 <div id="fileList" class="module"> |
|
3529 <h4>Files</h4> |
|
3530 <ul class="content"> |
|
3531 <li class=""><a href="node-class.js.html" title="node-class.js">node-class.js</a></li> |
|
3532 <li class=""><a href="node-event-delegate.js.html" title="node-event-delegate.js">node-event-delegate.js</a></li> |
|
3533 <li class=""><a href="node-event-simulate.js.html" title="node-event-simulate.js">node-event-simulate.js</a></li> |
|
3534 <li class=""><a href="node-ie.js.html" title="node-ie.js">node-ie.js</a></li> |
|
3535 <li class=""><a href="node-imports.js.html" title="node-imports.js">node-imports.js</a></li> |
|
3536 <li class=""><a href="node-pluginhost.js.html" title="node-pluginhost.js">node-pluginhost.js</a></li> |
|
3537 <li class=""><a href="node-region.js.html" title="node-region.js">node-region.js</a></li> |
|
3538 <li class=""><a href="node-screen.js.html" title="node-screen.js">node-screen.js</a></li> |
|
3539 <li class=""><a href="node-style.js.html" title="node-style.js">node-style.js</a></li> |
|
3540 <li class=""><a href="node.js.html" title="node.js">node.js</a></li> |
|
3541 <li class=""><a href="nodelist.js.html" title="nodelist.js">nodelist.js</a></li> |
|
3542 </ul> |
|
3543 </div> |
|
3544 |
|
3545 |
|
3546 <div id="methodsList" class="module"> |
|
3547 <h4>Methods</h4> |
|
3548 <ul class="content"> |
|
3549 <li class=""><a href="#method_addClass" title="addClass">addClass</a></li> |
|
3550 <li class=""><a href="#method_all" title="all">all</a></li> |
|
3551 <li class=""><a href="#method_ancestor" title="ancestor">ancestor</a></li> |
|
3552 <li class=""><a href="#method_append" title="append">append</a></li> |
|
3553 <li class=""><a href="#method_appendChild" title="appendChild">appendChild</a></li> |
|
3554 <li class=""><a href="#method_blur" title="blur">blur</a></li> |
|
3555 <li class=""><a href="#method_cloneNode" title="cloneNode">cloneNode</a></li> |
|
3556 <li class=""><a href="#method_compareTo" title="compareTo">compareTo</a></li> |
|
3557 <li class=""><a href="#method_contains" title="contains">contains</a></li> |
|
3558 <li class=""><a href="#method_create" title="create">create</a></li> |
|
3559 <li class=""><a href="#method_delegate" title="delegate">delegate</a></li> |
|
3560 <li class=" deprecated"><a href="#method_each" title="each">each</a></li> |
|
3561 <li class=""><a href="#method_focus" title="focus">focus</a></li> |
|
3562 <li class=""><a href="#method_get" title="get">get</a></li> |
|
3563 <li class=""><a href="#method_getAttribute" title="getAttribute">getAttribute</a></li> |
|
3564 <li class=""><a href="#method_getAttrs" title="getAttrs">getAttrs</a></li> |
|
3565 <li class=""><a href="#method_getComputedStyle" title="getComputedStyle">getComputedStyle</a></li> |
|
3566 <li class=""><a href="#method_getElementsByTagName" title="getElementsByTagName">getElementsByTagName</a></li> |
|
3567 <li class=""><a href="#method_getStyle" title="getStyle">getStyle</a></li> |
|
3568 <li class=""><a href="#method_getX" title="getX">getX</a></li> |
|
3569 <li class=""><a href="#method_getXY" title="getXY">getXY</a></li> |
|
3570 <li class=""><a href="#method_getY" title="getY">getY</a></li> |
|
3571 <li class=""><a href="#method_hasAttribute" title="hasAttribute">hasAttribute</a></li> |
|
3572 <li class=""><a href="#method_hasChildNodes" title="hasChildNodes">hasChildNodes</a></li> |
|
3573 <li class=""><a href="#method_hasClass" title="hasClass">hasClass</a></li> |
|
3574 <li class=""><a href="#method_inDoc" title="inDoc">inDoc</a></li> |
|
3575 <li class=""><a href="#method_inRegion" title="inRegion">inRegion</a></li> |
|
3576 <li class=""><a href="#method_insert" title="insert">insert</a></li> |
|
3577 <li class=""><a href="#method_insertBefore" title="insertBefore">insertBefore</a></li> |
|
3578 <li class=""><a href="#method_intersect" title="intersect">intersect</a></li> |
|
3579 <li class=""><a href="#method_invoke" title="invoke">invoke</a></li> |
|
3580 <li class=" deprecated"><a href="#method_item" title="item">item</a></li> |
|
3581 <li class=""><a href="#method_next" title="next">next</a></li> |
|
3582 <li class=""><a href="#method_Node.getDOMNode" title="Node.getDOMNode">Node.getDOMNode</a></li> |
|
3583 <li class=""><a href="#method_one" title="one">one</a></li> |
|
3584 <li class=""><a href="#method_prepend" title="prepend">prepend</a></li> |
|
3585 <li class=""><a href="#method_previous" title="previous">previous</a></li> |
|
3586 <li class=" deprecated"><a href="#method_query" title="query">query</a></li> |
|
3587 <li class=" deprecated"><a href="#method_queryAll" title="queryAll">queryAll</a></li> |
|
3588 <li class=""><a href="#method_remove" title="remove">remove</a></li> |
|
3589 <li class=""><a href="#method_removeAttribute" title="removeAttribute">removeAttribute</a></li> |
|
3590 <li class=""><a href="#method_removeChild" title="removeChild">removeChild</a></li> |
|
3591 <li class=""><a href="#method_removeClass" title="removeClass">removeClass</a></li> |
|
3592 <li class=""><a href="#method_replace" title="replace">replace</a></li> |
|
3593 <li class=""><a href="#method_replaceChild" title="replaceChild">replaceChild</a></li> |
|
3594 <li class=""><a href="#method_replaceClass" title="replaceClass">replaceClass</a></li> |
|
3595 <li class=""><a href="#method_reset" title="reset">reset</a></li> |
|
3596 <li class=""><a href="#method_scrollIntoView" title="scrollIntoView">scrollIntoView</a></li> |
|
3597 <li class=""><a href="#method_select" title="select">select</a></li> |
|
3598 <li class=""><a href="#method_set" title="set">set</a></li> |
|
3599 <li class=""><a href="#method_setAttribute" title="setAttribute">setAttribute</a></li> |
|
3600 <li class=""><a href="#method_setAttrs" title="setAttrs">setAttrs</a></li> |
|
3601 <li class=""><a href="#method_setContent" title="setContent">setContent</a></li> |
|
3602 <li class=""><a href="#method_setStyle" title="setStyle">setStyle</a></li> |
|
3603 <li class=""><a href="#method_setStyles" title="setStyles">setStyles</a></li> |
|
3604 <li class=""><a href="#method_setX" title="setX">setX</a></li> |
|
3605 <li class=""><a href="#method_setXY" title="setXY">setXY</a></li> |
|
3606 <li class=""><a href="#method_setY" title="setY">setY</a></li> |
|
3607 <li class=""><a href="#method_simulate" title="simulate">simulate</a></li> |
|
3608 <li class=" deprecated"><a href="#method_size" title="size">size</a></li> |
|
3609 <li class=""><a href="#method_submit" title="submit">submit</a></li> |
|
3610 <li class=""><a href="#method_test" title="test">test</a></li> |
|
3611 <li class=""><a href="#method_toggleClass" title="toggleClass">toggleClass</a></li> |
|
3612 <li class=" deprecated"><a href="#method_Y.get" title="Y.get">Y.get</a></li> |
|
3613 <li class=""><a href="#method_Y.one" title="Y.one">Y.one</a></li> |
|
3614 </ul> |
|
3615 </div> |
|
3616 |
|
3617 |
|
3618 <div id="configList" class="module"> |
|
3619 <h4>Configuration Attributes</h4> |
|
3620 <ul class="content"> |
|
3621 <li class=""><a href="#config_children" title="children">children</a></li> |
|
3622 <li class=""><a href="#config_docHeight" title="docHeight">docHeight</a></li> |
|
3623 <li class=""><a href="#config_docScrollX" title="docScrollX">docScrollX</a></li> |
|
3624 <li class=""><a href="#config_docScrollY" title="docScrollY">docScrollY</a></li> |
|
3625 <li class=""><a href="#config_region" title="region">region</a></li> |
|
3626 <li class=""><a href="#config_text" title="text">text</a></li> |
|
3627 <li class=""><a href="#config_viewportRegion" title="viewportRegion">viewportRegion</a></li> |
|
3628 <li class=""><a href="#config_winHeight" title="winHeight">winHeight</a></li> |
|
3629 <li class=""><a href="#config_winWidth" title="winWidth">winWidth</a></li> |
|
3630 </ul> |
|
3631 </div> |
|
3632 |
|
3633 </div> |
|
3634 </div> |
|
3635 </div> |
|
3636 <div id="ft"> |
|
3637 <hr /> |
|
3638 Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
3639 </div> |
|
3640 </div> |
|
3641 <script type="text/javascript"> |
|
3642 ALL_YUI_PROPS = [{"access": "", "host": "NodeList", "name": "addClass", "url": "NodeList.html#method_addClass", "type": "method"}, {"access": "", "host": "Node", "name": "addClass", "url": "Node.html#method_addClass", "type": "method"}, {"access": "", "host": "NodeList", "name": "after", "url": "NodeList.html#method_after", "type": "method"}, {"access": "", "host": "Node", "name": "all", "url": "Node.html#method_all", "type": "method"}, {"access": "", "host": "Node", "name": "ancestor", "url": "Node.html#method_ancestor", "type": "method"}, {"access": "", "host": "NodeList", "name": "append", "url": "NodeList.html#method_append", "type": "method"}, {"access": "", "host": "Node", "name": "append", "url": "Node.html#method_append", "type": "method"}, {"access": "", "host": "Node", "name": "appendChild", "url": "Node.html#method_appendChild", "type": "method"}, {"access": "", "host": "Node", "name": "blur", "url": "Node.html#method_blur", "type": "method"}, {"access": "", "host": "Node", "name": "children", "url": "Node.html#config_children", "type": "config"}, {"access": "", "host": "Node", "name": "cloneNode", "url": "Node.html#method_cloneNode", "type": "method"}, {"access": "", "host": "Node", "name": "compareTo", "url": "Node.html#method_compareTo", "type": "method"}, {"access": "", "host": "Node", "name": "contains", "url": "Node.html#method_contains", "type": "method"}, {"access": "", "host": "Node", "name": "create", "url": "Node.html#method_create", "type": "method"}, {"access": "", "host": "Node", "name": "delegate", "url": "Node.html#method_delegate", "type": "method"}, {"access": "", "host": "NodeList", "name": "detach", "url": "NodeList.html#method_detach", "type": "method"}, {"access": "", "host": "NodeList", "name": "detachAll", "url": "NodeList.html#method_detachAll", "type": "method"}, {"access": "", "host": "Node", "name": "docHeight", "url": "Node.html#config_docHeight", "type": "config"}, {"access": "", "host": "Node", "name": "docScrollX", "url": "Node.html#config_docScrollX", "type": "config"}, {"access": "", "host": "Node", "name": "docScrollY", "url": "Node.html#config_docScrollY", "type": "config"}, {"access": "", "host": "NodeList", "name": "each", "url": "NodeList.html#method_each", "type": "method"}, {"access": "", "host": "Node", "name": "each", "url": "Node.html#method_each", "type": "method"}, {"access": "", "host": "NodeList", "name": "even", "url": "NodeList.html#method_even", "type": "method"}, {"access": "", "host": "NodeList", "name": "filter", "url": "NodeList.html#method_filter", "type": "method"}, {"access": "", "host": "Node", "name": "focus", "url": "Node.html#method_focus", "type": "method"}, {"access": "", "host": "NodeList", "name": "get", "url": "NodeList.html#method_get", "type": "method"}, {"access": "", "host": "Node", "name": "get", "url": "Node.html#method_get", "type": "method"}, {"access": "", "host": "NodeList", "name": "getAttribute", "url": "NodeList.html#method_getAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "getAttribute", "url": "Node.html#method_getAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "getAttrs", "url": "Node.html#method_getAttrs", "type": "method"}, {"access": "", "host": "NodeList", "name": "getComputedStyle", "url": "NodeList.html#method_getComputedStyle", "type": "method"}, {"access": "", "host": "Node", "name": "getComputedStyle", "url": "Node.html#method_getComputedStyle", "type": "method"}, {"access": "", "host": "Node", "name": "getElementsByTagName", "url": "Node.html#method_getElementsByTagName", "type": "method"}, {"access": "", "host": "NodeList", "name": "getStyle", "url": "NodeList.html#method_getStyle", "type": "method"}, {"access": "", "host": "Node", "name": "getStyle", "url": "Node.html#method_getStyle", "type": "method"}, {"access": "", "host": "Node", "name": "getX", "url": "Node.html#method_getX", "type": "method"}, {"access": "", "host": "Node", "name": "getXY", "url": "Node.html#method_getXY", "type": "method"}, {"access": "", "host": "Node", "name": "getY", "url": "Node.html#method_getY", "type": "method"}, {"access": "", "host": "Node", "name": "hasAttribute", "url": "Node.html#method_hasAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "hasChildNodes", "url": "Node.html#method_hasChildNodes", "type": "method"}, {"access": "", "host": "NodeList", "name": "hasClass", "url": "NodeList.html#method_hasClass", "type": "method"}, {"access": "", "host": "Node", "name": "hasClass", "url": "Node.html#method_hasClass", "type": "method"}, {"access": "", "host": "NodeList", "name": "indexOf", "url": "NodeList.html#method_indexOf", "type": "method"}, {"access": "", "host": "Node", "name": "inDoc", "url": "Node.html#method_inDoc", "type": "method"}, {"access": "", "host": "Node", "name": "inRegion", "url": "Node.html#method_inRegion", "type": "method"}, {"access": "", "host": "NodeList", "name": "insert", "url": "NodeList.html#method_insert", "type": "method"}, {"access": "", "host": "Node", "name": "insert", "url": "Node.html#method_insert", "type": "method"}, {"access": "", "host": "Node", "name": "insertBefore", "url": "Node.html#method_insertBefore", "type": "method"}, {"access": "", "host": "Node", "name": "intersect", "url": "Node.html#method_intersect", "type": "method"}, {"access": "", "host": "Node", "name": "invoke", "url": "Node.html#method_invoke", "type": "method"}, {"access": "", "host": "NodeList", "name": "item", "url": "NodeList.html#method_item", "type": "method"}, {"access": "", "host": "Node", "name": "item", "url": "Node.html#method_item", "type": "method"}, {"access": "", "host": "NodeList", "name": "modulus", "url": "NodeList.html#method_modulus", "type": "method"}, {"access": "", "host": "Node", "name": "next", "url": "Node.html#method_next", "type": "method"}, {"access": "", "host": "Node", "name": "Node.getDOMNode", "url": "Node.html#method_Node.getDOMNode", "type": "method"}, {"access": "", "host": "NodeList", "name": "NodeList.getDOMNodes", "url": "NodeList.html#method_NodeList.getDOMNodes", "type": "method"}, {"access": "", "host": "NodeList", "name": "odd", "url": "NodeList.html#method_odd", "type": "method"}, {"access": "", "host": "NodeList", "name": "on", "url": "NodeList.html#method_on", "type": "method"}, {"access": "", "host": "Node", "name": "one", "url": "Node.html#method_one", "type": "method"}, {"access": "", "host": "NodeList", "name": "prepend", "url": "NodeList.html#method_prepend", "type": "method"}, {"access": "", "host": "Node", "name": "prepend", "url": "Node.html#method_prepend", "type": "method"}, {"access": "", "host": "Node", "name": "previous", "url": "Node.html#method_previous", "type": "method"}, {"access": "", "host": "Node", "name": "query", "url": "Node.html#method_query", "type": "method"}, {"access": "", "host": "Node", "name": "queryAll", "url": "Node.html#method_queryAll", "type": "method"}, {"access": "", "host": "NodeList", "name": "refresh", "url": "NodeList.html#method_refresh", "type": "method"}, {"access": "", "host": "Node", "name": "region", "url": "Node.html#config_region", "type": "config"}, {"access": "", "host": "NodeList", "name": "remove", "url": "NodeList.html#method_remove", "type": "method"}, {"access": "", "host": "Node", "name": "remove", "url": "Node.html#method_remove", "type": "method"}, {"access": "", "host": "Node", "name": "removeAttribute", "url": "Node.html#method_removeAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "removeChild", "url": "Node.html#method_removeChild", "type": "method"}, {"access": "", "host": "NodeList", "name": "removeClass", "url": "NodeList.html#method_removeClass", "type": "method"}, {"access": "", "host": "Node", "name": "removeClass", "url": "Node.html#method_removeClass", "type": "method"}, {"access": "", "host": "Node", "name": "replace", "url": "Node.html#method_replace", "type": "method"}, {"access": "", "host": "Node", "name": "replaceChild", "url": "Node.html#method_replaceChild", "type": "method"}, {"access": "", "host": "NodeList", "name": "replaceClass", "url": "NodeList.html#method_replaceClass", "type": "method"}, {"access": "", "host": "Node", "name": "replaceClass", "url": "Node.html#method_replaceClass", "type": "method"}, {"access": "", "host": "Node", "name": "reset", "url": "Node.html#method_reset", "type": "method"}, {"access": "", "host": "Node", "name": "scrollIntoView", "url": "Node.html#method_scrollIntoView", "type": "method"}, {"access": "", "host": "Node", "name": "select", "url": "Node.html#method_select", "type": "method"}, {"access": "", "host": "NodeList", "name": "set", "url": "NodeList.html#method_set", "type": "method"}, {"access": "", "host": "Node", "name": "set", "url": "Node.html#method_set", "type": "method"}, {"access": "", "host": "NodeList", "name": "setAttribute", "url": "NodeList.html#method_setAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "setAttribute", "url": "Node.html#method_setAttribute", "type": "method"}, {"access": "", "host": "Node", "name": "setAttrs", "url": "Node.html#method_setAttrs", "type": "method"}, {"access": "", "host": "NodeList", "name": "setContent", "url": "NodeList.html#method_setContent", "type": "method"}, {"access": "", "host": "Node", "name": "setContent", "url": "Node.html#method_setContent", "type": "method"}, {"access": "", "host": "NodeList", "name": "setStyle", "url": "NodeList.html#method_setStyle", "type": "method"}, {"access": "", "host": "Node", "name": "setStyle", "url": "Node.html#method_setStyle", "type": "method"}, {"access": "", "host": "NodeList", "name": "setStyles", "url": "NodeList.html#method_setStyles", "type": "method"}, {"access": "", "host": "Node", "name": "setStyles", "url": "Node.html#method_setStyles", "type": "method"}, {"access": "", "host": "Node", "name": "setX", "url": "Node.html#method_setX", "type": "method"}, {"access": "", "host": "Node", "name": "setXY", "url": "Node.html#method_setXY", "type": "method"}, {"access": "", "host": "Node", "name": "setY", "url": "Node.html#method_setY", "type": "method"}, {"access": "", "host": "Node", "name": "simulate", "url": "Node.html#method_simulate", "type": "method"}, {"access": "", "host": "NodeList", "name": "size", "url": "NodeList.html#method_size", "type": "method"}, {"access": "", "host": "Node", "name": "size", "url": "Node.html#method_size", "type": "method"}, {"access": "", "host": "NodeList", "name": "some", "url": "NodeList.html#method_some", "type": "method"}, {"access": "", "host": "Node", "name": "submit", "url": "Node.html#method_submit", "type": "method"}, {"access": "", "host": "Node", "name": "test", "url": "Node.html#method_test", "type": "method"}, {"access": "", "host": "Node", "name": "text", "url": "Node.html#config_text", "type": "config"}, {"access": "", "host": "NodeList", "name": "toDocFrag", "url": "NodeList.html#method_toDocFrag", "type": "method"}, {"access": "", "host": "NodeList", "name": "toggleClass", "url": "NodeList.html#method_toggleClass", "type": "method"}, {"access": "", "host": "Node", "name": "toggleClass", "url": "Node.html#method_toggleClass", "type": "method"}, {"access": "", "host": "Node", "name": "viewportRegion", "url": "Node.html#config_viewportRegion", "type": "config"}, {"access": "", "host": "Node", "name": "winHeight", "url": "Node.html#config_winHeight", "type": "config"}, {"access": "", "host": "Node", "name": "winWidth", "url": "Node.html#config_winWidth", "type": "config"}, {"access": "", "host": "Node", "name": "Y.get", "url": "Node.html#method_Y.get", "type": "method"}, {"access": "", "host": "Node", "name": "Y.one", "url": "Node.html#method_Y.one", "type": "method"}]; |
|
3643 </script> |
|
3644 </body> |
|
3645 </html> |