|
0
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
|
2 |
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#"> |
|
|
3 |
<head> |
|
|
4 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|
|
5 |
<title>API: node node-screen.js (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 |
|
|
|
23 |
> node-screen.js (source view) |
|
|
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 |
<div id="srcout"> |
|
|
47 |
<style> |
|
|
48 |
#doc3 .classopts { display:none; } |
|
|
49 |
</style> |
|
|
50 |
<div class="highlight" ><pre><span class="c">/**</span> |
|
|
51 |
<span class="c"> * Extended Node interface for managing regions and screen positioning.</span> |
|
|
52 |
<span class="c"> * Adds support for positioning elements and normalizes window size and scroll detection. </span> |
|
|
53 |
<span class="c"> * @module node</span> |
|
|
54 |
<span class="c"> * @submodule node-screen</span> |
|
|
55 |
<span class="c"> */</span> |
|
|
56 |
|
|
|
57 |
<span class="c">// these are all "safe" returns, no wrapping required</span> |
|
|
58 |
<span class="c"></span><span class="nx">Y</span><span class="o">.</span><span class="nx">each</span><span class="o">([</span> |
|
|
59 |
<span class="c">/**</span> |
|
|
60 |
<span class="c"> * Returns the inner width of the viewport (exludes scrollbar). </span> |
|
|
61 |
<span class="c"> * @config winWidth</span> |
|
|
62 |
<span class="c"> * @for Node</span> |
|
|
63 |
<span class="c"> * @type {Int}</span> |
|
|
64 |
<span class="c"> */</span> |
|
|
65 |
<span class="s1">'winWidth'</span><span class="o">,</span> |
|
|
66 |
|
|
|
67 |
<span class="c">/**</span> |
|
|
68 |
<span class="c"> * Returns the inner height of the viewport (exludes scrollbar). </span> |
|
|
69 |
<span class="c"> * @config winHeight</span> |
|
|
70 |
<span class="c"> * @type {Int}</span> |
|
|
71 |
<span class="c"> */</span> |
|
|
72 |
<span class="s1">'winHeight'</span><span class="o">,</span> |
|
|
73 |
|
|
|
74 |
<span class="c">/**</span> |
|
|
75 |
<span class="c"> * Document width </span> |
|
|
76 |
<span class="c"> * @config winHeight</span> |
|
|
77 |
<span class="c"> * @type {Int}</span> |
|
|
78 |
<span class="c"> */</span> |
|
|
79 |
<span class="s1">'docWidth'</span><span class="o">,</span> |
|
|
80 |
|
|
|
81 |
<span class="c">/**</span> |
|
|
82 |
<span class="c"> * Document height </span> |
|
|
83 |
<span class="c"> * @config docHeight</span> |
|
|
84 |
<span class="c"> * @type {Int}</span> |
|
|
85 |
<span class="c"> */</span> |
|
|
86 |
<span class="s1">'docHeight'</span><span class="o">,</span> |
|
|
87 |
|
|
|
88 |
<span class="c">/**</span> |
|
|
89 |
<span class="c"> * Amount page has been scroll vertically </span> |
|
|
90 |
<span class="c"> * @config docScrollX</span> |
|
|
91 |
<span class="c"> * @type {Int}</span> |
|
|
92 |
<span class="c"> */</span> |
|
|
93 |
<span class="s1">'docScrollX'</span><span class="o">,</span> |
|
|
94 |
|
|
|
95 |
<span class="c">/**</span> |
|
|
96 |
<span class="c"> * Amount page has been scroll horizontally </span> |
|
|
97 |
<span class="c"> * @config docScrollY</span> |
|
|
98 |
<span class="c"> * @type {Int}</span> |
|
|
99 |
<span class="c"> */</span> |
|
|
100 |
<span class="s1">'docScrollY'</span> |
|
|
101 |
<span class="o">],</span> |
|
|
102 |
<span class="k">function</span><span class="o">(</span><span class="nx">name</span><span class="o">)</span> <span class="o">{</span> |
|
|
103 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">Node</span><span class="o">.</span><span class="nx">ATTRS</span><span class="o">[</span><span class="nx">name</span><span class="o">]</span> <span class="o">=</span> <span class="o">{</span> |
|
|
104 |
<span class="nx">getter</span><span class="o">:</span> <span class="k">function</span><span class="o">()</span> <span class="o">{</span> |
|
|
105 |
<span class="k">var</span> <span class="nx">args</span> <span class="o">=</span> <span class="nb">Array</span><span class="o">.</span><span class="nx">prototype</span><span class="o">.</span><span class="nx">slice</span><span class="o">.</span><span class="nx">call</span><span class="o">(</span><span class="nx">arguments</span><span class="o">);</span> |
|
|
106 |
<span class="nx">args</span><span class="o">.</span><span class="nx">unshift</span><span class="o">(</span><span class="nx">Y</span><span class="o">.</span><span class="nx">Node</span><span class="o">.</span><span class="nx">getDOMNode</span><span class="o">(</span><span class="k">this</span><span class="o">));</span> |
|
|
107 |
|
|
|
108 |
<span class="k">return</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">DOM</span><span class="o">[</span><span class="nx">name</span><span class="o">].</span><span class="nx">apply</span><span class="o">(</span><span class="k">this</span><span class="o">,</span> <span class="nx">args</span><span class="o">);</span> |
|
|
109 |
<span class="o">}</span> |
|
|
110 |
<span class="o">};</span> |
|
|
111 |
<span class="o">}</span> |
|
|
112 |
<span class="o">);</span> |
|
|
113 |
|
|
|
114 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">Node</span><span class="o">.</span><span class="nx">ATTRS</span><span class="o">.</span><span class="nx">scrollLeft</span> <span class="o">=</span> <span class="o">{</span> |
|
|
115 |
<span class="nx">getter</span><span class="o">:</span> <span class="k">function</span><span class="o">()</span> <span class="o">{</span> |
|
|
116 |
<span class="k">var</span> <span class="nx">node</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Node</span><span class="o">.</span><span class="nx">getDOMNode</span><span class="o">(</span><span class="k">this</span><span class="o">);</span> |
|
|
117 |
<span class="k">return</span> <span class="o">(</span><span class="s1">'scrollLeft'</span> <span class="k">in</span> <span class="nx">node</span><span class="o">)</span> <span class="o">?</span> <span class="nx">node</span><span class="o">.</span><span class="nx">scrollLeft</span> <span class="o">:</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">DOM</span><span class="o">.</span><span class="nx">docScrollX</span><span class="o">(</span><span class="nx">node</span><span class="o">);</span> |
|
|
118 |
<span class="o">},</span> |
|
|
119 |
|
|
|
120 |
<span class="nx">setter</span><span class="o">:</span> <span class="k">function</span><span class="o">(</span><span class="nx">val</span><span class="o">)</span> <span class="o">{</span> |
|
|
121 |
<span class="k">var</span> <span class="nx">node</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Node</span><span class="o">.</span><span class="nx">getDOMNode</span><span class="o">(</span><span class="k">this</span><span class="o">);</span> |
|
|
122 |
<span class="k">if</span> <span class="o">(</span><span class="nx">node</span><span class="o">)</span> <span class="o">{</span> |
|
|
123 |
<span class="k">if</span> <span class="o">(</span><span class="s1">'scrollLeft'</span> <span class="k">in</span> <span class="nx">node</span><span class="o">)</span> <span class="o">{</span> |
|
|
124 |
<span class="nx">node</span><span class="o">.</span><span class="nx">scrollLeft</span> <span class="o">=</span> <span class="nx">val</span><span class="o">;</span> |
|
|
125 |
<span class="o">}</span> <span class="k">else</span> <span class="k">if</span> <span class="o">(</span><span class="nx">node</span><span class="o">.</span><span class="nb">document</span> <span class="o">||</span> <span class="nx">node</span><span class="o">.</span><span class="nx">nodeType</span> <span class="o">===</span> <span class="m">9</span><span class="o">)</span> <span class="o">{</span> |
|
|
126 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">DOM</span><span class="o">.</span><span class="nx">_getWin</span><span class="o">(</span><span class="nx">node</span><span class="o">).</span><span class="nx">scrollTo</span><span class="o">(</span><span class="nx">val</span><span class="o">,</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">DOM</span><span class="o">.</span><span class="nx">docScrollY</span><span class="o">(</span><span class="nx">node</span><span class="o">));</span> <span class="c">// scroll window if win or doc</span> |
|
|
127 |
<span class="c"></span> <span class="o">}</span> |
|
|
128 |
<span class="o">}</span> <span class="k">else</span> <span class="o">{</span> |
|
|
129 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">log</span><span class="o">(</span><span class="s1">'unable to set scrollLeft for '</span> <span class="o">+</span> <span class="nx">node</span><span class="o">,</span> <span class="s1">'error'</span><span class="o">,</span> <span class="s1">'Node'</span><span class="o">);</span> |
|
|
130 |
<span class="o">}</span> |
|
|
131 |
<span class="o">}</span> |
|
|
132 |
<span class="o">};</span> |
|
|
133 |
|
|
|
134 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">Node</span><span class="o">.</span><span class="nx">ATTRS</span><span class="o">.</span><span class="nx">scrollTop</span> <span class="o">=</span> <span class="o">{</span> |
|
|
135 |
<span class="nx">getter</span><span class="o">:</span> <span class="k">function</span><span class="o">()</span> <span class="o">{</span> |
|
|
136 |
<span class="k">var</span> <span class="nx">node</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Node</span><span class="o">.</span><span class="nx">getDOMNode</span><span class="o">(</span><span class="k">this</span><span class="o">);</span> |
|
|
137 |
<span class="k">return</span> <span class="o">(</span><span class="s1">'scrollTop'</span> <span class="k">in</span> <span class="nx">node</span><span class="o">)</span> <span class="o">?</span> <span class="nx">node</span><span class="o">.</span><span class="nx">scrollTop</span> <span class="o">:</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">DOM</span><span class="o">.</span><span class="nx">docScrollY</span><span class="o">(</span><span class="nx">node</span><span class="o">);</span> |
|
|
138 |
<span class="o">},</span> |
|
|
139 |
|
|
|
140 |
<span class="nx">setter</span><span class="o">:</span> <span class="k">function</span><span class="o">(</span><span class="nx">val</span><span class="o">)</span> <span class="o">{</span> |
|
|
141 |
<span class="k">var</span> <span class="nx">node</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Node</span><span class="o">.</span><span class="nx">getDOMNode</span><span class="o">(</span><span class="k">this</span><span class="o">);</span> |
|
|
142 |
<span class="k">if</span> <span class="o">(</span><span class="nx">node</span><span class="o">)</span> <span class="o">{</span> |
|
|
143 |
<span class="k">if</span> <span class="o">(</span><span class="s1">'scrollTop'</span> <span class="k">in</span> <span class="nx">node</span><span class="o">)</span> <span class="o">{</span> |
|
|
144 |
<span class="nx">node</span><span class="o">.</span><span class="nx">scrollTop</span> <span class="o">=</span> <span class="nx">val</span><span class="o">;</span> |
|
|
145 |
<span class="o">}</span> <span class="k">else</span> <span class="k">if</span> <span class="o">(</span><span class="nx">node</span><span class="o">.</span><span class="nb">document</span> <span class="o">||</span> <span class="nx">node</span><span class="o">.</span><span class="nx">nodeType</span> <span class="o">===</span> <span class="m">9</span><span class="o">)</span> <span class="o">{</span> |
|
|
146 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">DOM</span><span class="o">.</span><span class="nx">_getWin</span><span class="o">(</span><span class="nx">node</span><span class="o">).</span><span class="nx">scrollTo</span><span class="o">(</span><span class="nx">Y</span><span class="o">.</span><span class="nx">DOM</span><span class="o">.</span><span class="nx">docScrollX</span><span class="o">(</span><span class="nx">node</span><span class="o">),</span> <span class="nx">val</span><span class="o">);</span> <span class="c">// scroll window if win or doc</span> |
|
|
147 |
<span class="c"></span> <span class="o">}</span> |
|
|
148 |
<span class="o">}</span> <span class="k">else</span> <span class="o">{</span> |
|
|
149 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">log</span><span class="o">(</span><span class="s1">'unable to set scrollTop for '</span> <span class="o">+</span> <span class="nx">node</span><span class="o">,</span> <span class="s1">'error'</span><span class="o">,</span> <span class="s1">'Node'</span><span class="o">);</span> |
|
|
150 |
<span class="o">}</span> |
|
|
151 |
<span class="o">}</span> |
|
|
152 |
<span class="o">};</span> |
|
|
153 |
|
|
|
154 |
<span class="nx">Y</span><span class="o">.</span><span class="nx">Node</span><span class="o">.</span><span class="nx">importMethod</span><span class="o">(</span><span class="nx">Y</span><span class="o">.</span><span class="nx">DOM</span><span class="o">,</span> <span class="o">[</span> |
|
|
155 |
<span class="c">/**</span> |
|
|
156 |
<span class="c"> * Gets the current position of the node in page coordinates. </span> |
|
|
157 |
<span class="c"> * @method getXY</span> |
|
|
158 |
<span class="c"> * @for Node</span> |
|
|
159 |
<span class="c"> * @return {Array} The XY position of the node</span> |
|
|
160 |
<span class="c">*/</span> |
|
|
161 |
<span class="s1">'getXY'</span><span class="o">,</span> |
|
|
162 |
|
|
|
163 |
<span class="c">/**</span> |
|
|
164 |
<span class="c"> * Set the position of the node in page coordinates, regardless of how the node is positioned.</span> |
|
|
165 |
<span class="c"> * @method setXY</span> |
|
|
166 |
<span class="c"> * @param {Array} xy Contains X & Y values for new position (coordinates are page-based)</span> |
|
|
167 |
<span class="c"> * @chainable</span> |
|
|
168 |
<span class="c"> */</span> |
|
|
169 |
<span class="s1">'setXY'</span><span class="o">,</span> |
|
|
170 |
|
|
|
171 |
<span class="c">/**</span> |
|
|
172 |
<span class="c"> * Gets the current position of the node in page coordinates. </span> |
|
|
173 |
<span class="c"> * @method getX</span> |
|
|
174 |
<span class="c"> * @return {Int} The X position of the node</span> |
|
|
175 |
<span class="c">*/</span> |
|
|
176 |
<span class="s1">'getX'</span><span class="o">,</span> |
|
|
177 |
|
|
|
178 |
<span class="c">/**</span> |
|
|
179 |
<span class="c"> * Set the position of the node in page coordinates, regardless of how the node is positioned.</span> |
|
|
180 |
<span class="c"> * @method setX</span> |
|
|
181 |
<span class="c"> * @param {Int} x X value for new position (coordinates are page-based)</span> |
|
|
182 |
<span class="c"> * @chainable</span> |
|
|
183 |
<span class="c"> */</span> |
|
|
184 |
<span class="s1">'setX'</span><span class="o">,</span> |
|
|
185 |
|
|
|
186 |
<span class="c">/**</span> |
|
|
187 |
<span class="c"> * Gets the current position of the node in page coordinates. </span> |
|
|
188 |
<span class="c"> * @method getY</span> |
|
|
189 |
<span class="c"> * @return {Int} The Y position of the node</span> |
|
|
190 |
<span class="c">*/</span> |
|
|
191 |
<span class="s1">'getY'</span><span class="o">,</span> |
|
|
192 |
|
|
|
193 |
<span class="c">/**</span> |
|
|
194 |
<span class="c"> * Set the position of the node in page coordinates, regardless of how the node is positioned.</span> |
|
|
195 |
<span class="c"> * @method setY</span> |
|
|
196 |
<span class="c"> * @param {Int} y Y value for new position (coordinates are page-based)</span> |
|
|
197 |
<span class="c"> * @chainable</span> |
|
|
198 |
<span class="c"> */</span> |
|
|
199 |
<span class="s1">'setY'</span> |
|
|
200 |
<span class="o">]);</span> |
|
|
201 |
</pre></div> |
|
|
202 |
|
|
|
203 |
</div> |
|
|
204 |
</div> |
|
|
205 |
</div> |
|
|
206 |
<div class="yui-b"> |
|
|
207 |
<div class="nav"> |
|
|
208 |
|
|
|
209 |
<div id="moduleList" class="module"> |
|
|
210 |
<h4>Modules</h4> |
|
|
211 |
<ul class="content"> |
|
|
212 |
<li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
|
213 |
<li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
|
214 |
<li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
|
215 |
<li class=""><a href="module_base.html" title="base">base</a></li> |
|
|
216 |
<li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
|
217 |
<li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
|
218 |
<li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
|
219 |
<li class=""><a href="module_console.html" title="console">console</a></li> |
|
|
220 |
<li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
|
221 |
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
|
222 |
<li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
|
223 |
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
|
224 |
<li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
|
225 |
<li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
|
226 |
<li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
|
227 |
<li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
|
228 |
<li class=""><a href="module_event.html" title="event">event</a></li> |
|
|
229 |
<li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
|
230 |
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
|
231 |
<li class=""><a href="module_history.html" title="history">history</a></li> |
|
|
232 |
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
|
233 |
<li class=""><a href="module_io.html" title="io">io</a></li> |
|
|
234 |
<li class=""><a href="module_json.html" title="json">json</a></li> |
|
|
235 |
<li class="selected"><a href="module_node.html" title="node">node</a></li> |
|
|
236 |
<li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
|
237 |
<li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
|
238 |
<li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
|
239 |
<li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
|
240 |
<li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
|
241 |
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
|
242 |
<li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
|
243 |
<li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
|
244 |
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
|
245 |
<li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
|
246 |
<li class=""><a href="module_test.html" title="test">test</a></li> |
|
|
247 |
<li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
|
248 |
<li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
|
249 |
<li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
|
250 |
<li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
|
251 |
<li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
|
252 |
<li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
|
253 |
</ul> |
|
|
254 |
</div> |
|
|
255 |
|
|
|
256 |
<div id="classList" class="module"> |
|
|
257 |
<h4>Classes</h4> |
|
|
258 |
<ul class="content"> |
|
|
259 |
<li class=""><a href="Node.html" title="Node">Node</a></li> |
|
|
260 |
<li class=""><a href="NodeList.html" title="NodeList">NodeList</a></li> |
|
|
261 |
</ul> |
|
|
262 |
</div> |
|
|
263 |
|
|
|
264 |
<div id="fileList" class="module"> |
|
|
265 |
<h4>Files</h4> |
|
|
266 |
<ul class="content"> |
|
|
267 |
<li class=""><a href="node-class.js.html" title="node-class.js">node-class.js</a></li> |
|
|
268 |
<li class=""><a href="node-event-delegate.js.html" title="node-event-delegate.js">node-event-delegate.js</a></li> |
|
|
269 |
<li class=""><a href="node-event-simulate.js.html" title="node-event-simulate.js">node-event-simulate.js</a></li> |
|
|
270 |
<li class=""><a href="node-ie.js.html" title="node-ie.js">node-ie.js</a></li> |
|
|
271 |
<li class=""><a href="node-imports.js.html" title="node-imports.js">node-imports.js</a></li> |
|
|
272 |
<li class=""><a href="node-pluginhost.js.html" title="node-pluginhost.js">node-pluginhost.js</a></li> |
|
|
273 |
<li class=""><a href="node-region.js.html" title="node-region.js">node-region.js</a></li> |
|
|
274 |
<li class="selected"><a href="node-screen.js.html" title="node-screen.js">node-screen.js</a></li> |
|
|
275 |
<li class=""><a href="node-style.js.html" title="node-style.js">node-style.js</a></li> |
|
|
276 |
<li class=""><a href="node.js.html" title="node.js">node.js</a></li> |
|
|
277 |
<li class=""><a href="nodelist.js.html" title="nodelist.js">nodelist.js</a></li> |
|
|
278 |
</ul> |
|
|
279 |
</div> |
|
|
280 |
|
|
|
281 |
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
|
|
|
285 |
</div> |
|
|
286 |
</div> |
|
|
287 |
</div> |
|
|
288 |
<div id="ft"> |
|
|
289 |
<hr /> |
|
|
290 |
Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
|
291 |
</div> |
|
|
292 |
</div> |
|
|
293 |
<script type="text/javascript"> |
|
|
294 |
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"}]; |
|
|
295 |
</script> |
|
|
296 |
</body> |
|
|
297 |
</html> |