|
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: imageloader ImgLoadImgObj (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>imageloader <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_imageloader.html" title="imageloader">imageloader</a> |
|
22 > ImgLoadImgObj |
|
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">ImgLoadImgObj</b> |
|
52 <span class="extends"> |
|
53 - extends <a href="Base.html" title="Base">Base</a> |
|
54 </span> |
|
55 |
|
56 </h2> |
|
57 <!-- class tree goes here --> |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 <div class="summary description" property="yui:description"> |
|
63 Image objects to be registered with the groups |
|
64 </div> |
|
65 |
|
66 <div class="section constructor details" rel="yui:constructor" resource="#constructor"> |
|
67 <h3 id="constructor">Constructor</h3> |
|
68 <div class="content"> |
|
69 <div class="detail"> |
|
70 <strong property="yui:name">ImgLoadImgObj</strong> |
|
71 <code> |
|
72 ( |
|
73 ) |
|
74 </code> |
|
75 <div class="description"> |
|
76 |
|
77 |
|
78 </div> |
|
79 </div> |
|
80 </div> |
|
81 </div> |
|
82 |
|
83 <div rel="yui:properties" resource="#properties"> |
|
84 <div class="section field details"> |
|
85 <h3 id="properties">Properties</h3> |
|
86 <div class="content"> |
|
87 <div class="private" rel="yui:property" resource="#property__fetched"> |
|
88 <h4><a name="property__fetched" property="yui:name">_fetched</a> |
|
89 - <code>private <span property="yui:type">Boolean</span></code> |
|
90 </h4> |
|
91 <div class="detail"> |
|
92 <div class="description" property="yui:description"> |
|
93 Whether this image has already been fetched. |
|
94 In the case of fold-conditional groups, images won't be fetched twice. |
|
95 </div> |
|
96 </div> |
|
97 |
|
98 |
|
99 |
|
100 |
|
101 <hr /> |
|
102 </div> |
|
103 <div class="private" rel="yui:property" resource="#property__imgEl"> |
|
104 <h4><a name="property__imgEl" property="yui:name">_imgEl</a> |
|
105 - <code>private <span property="yui:type">Object</span></code> |
|
106 </h4> |
|
107 <div class="detail"> |
|
108 <div class="description" property="yui:description"> |
|
109 The Node object returned from <code>Y.get</code>, to avoid repeat calls to access the DOM. |
|
110 </div> |
|
111 </div> |
|
112 |
|
113 |
|
114 |
|
115 |
|
116 <hr /> |
|
117 </div> |
|
118 <div class="private" rel="yui:property" resource="#property__yPos"> |
|
119 <h4><a name="property__yPos" property="yui:name">_yPos</a> |
|
120 - <code>private <span property="yui:type">Int</span></code> |
|
121 </h4> |
|
122 <div class="detail"> |
|
123 <div class="description" property="yui:description"> |
|
124 The vertical position returned from <code>getY</code>, to avoid repeat calls to access the DOM. |
|
125 The Y position is checked only for images registered with fold-conditional groups. The position is checked first at page load (domready) |
|
126 and this caching enhancement assumes that the image's vertical position won't change after that first check. |
|
127 </div> |
|
128 </div> |
|
129 |
|
130 |
|
131 |
|
132 |
|
133 <hr /> |
|
134 </div> |
|
135 </div> |
|
136 </div> |
|
137 |
|
138 <div rel="yui:inheritance"> |
|
139 <div class="section field inheritance" rel="yui:superclass" resource="Attribute.html"> |
|
140 <h4>Properties inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4> |
|
141 <div class="content" rel="yui:properties"> |
|
142 <code> |
|
143 |
|
144 </code> |
|
145 </div> |
|
146 </div> |
|
147 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
148 <h4>Properties inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
149 <div class="content" rel="yui:properties"> |
|
150 <code> |
|
151 |
|
152 <span rel="yui:property" resource="Base.html#property_name"> |
|
153 <a class=" deprecated" href="Base.html#property_name" property="yui:name" title="name">name</a> |
|
154 </span> |
|
155 |
|
156 </code> |
|
157 </div> |
|
158 </div> |
|
159 </div> |
|
160 </div> |
|
161 |
|
162 <div rel="yui:methods" resource="#methods"> |
|
163 <div class="section method details"> |
|
164 <h3 id="methods">Methods</h3> |
|
165 <div class="content"> |
|
166 <div class="private" rel="yui:method" resource="#method__getImgEl"> |
|
167 <h4> |
|
168 <a name="method__getImgEl">_getImgEl</a></h4> |
|
169 <div class="detail" > |
|
170 <code> |
|
171 private |
|
172 |
|
173 |
|
174 void |
|
175 <strong property="yui:name">_getImgEl</strong> |
|
176 ( |
|
177 ) |
|
178 </code> |
|
179 |
|
180 <div class="description" property="yui:description"> |
|
181 Gets the object (as a <code>Y.Node</code>) of the DOM element indicated by "<code>domId</code>". |
|
182 </div> |
|
183 |
|
184 <div class="description"> |
|
185 |
|
186 |
|
187 |
|
188 |
|
189 |
|
190 |
|
191 </div> |
|
192 |
|
193 </div> |
|
194 <hr /> |
|
195 </div> |
|
196 <div class="private" rel="yui:method" resource="#method__getYPos"> |
|
197 <h4> |
|
198 <a name="method__getYPos">_getYPos</a></h4> |
|
199 <div class="detail" > |
|
200 <code> |
|
201 private |
|
202 |
|
203 |
|
204 void |
|
205 <strong property="yui:name">_getYPos</strong> |
|
206 ( |
|
207 ) |
|
208 </code> |
|
209 |
|
210 <div class="description" property="yui:description"> |
|
211 Gets the Y position of the node in page coordinates. |
|
212 Expects that the page-coordinate position of the image won't change. |
|
213 </div> |
|
214 |
|
215 <div class="description"> |
|
216 |
|
217 |
|
218 |
|
219 |
|
220 |
|
221 |
|
222 </div> |
|
223 |
|
224 </div> |
|
225 <hr /> |
|
226 </div> |
|
227 <div class="private" rel="yui:method" resource="#method__init"> |
|
228 <h4> |
|
229 <a name="method__init">_init</a></h4> |
|
230 <div class="detail" > |
|
231 <code> |
|
232 private |
|
233 |
|
234 |
|
235 void |
|
236 <strong property="yui:name">_init</strong> |
|
237 ( |
|
238 ) |
|
239 </code> |
|
240 |
|
241 <div class="description" property="yui:description"> |
|
242 Initialize all private members needed for the group. |
|
243 </div> |
|
244 |
|
245 <div class="description"> |
|
246 |
|
247 |
|
248 |
|
249 |
|
250 |
|
251 |
|
252 </div> |
|
253 |
|
254 </div> |
|
255 <hr /> |
|
256 </div> |
|
257 <div class="" rel="yui:method" resource="#method_fetch"> |
|
258 <h4> |
|
259 <a name="method_fetch">fetch</a></h4> |
|
260 <div class="detail" > |
|
261 <code> |
|
262 |
|
263 |
|
264 |
|
265 Boolean |
|
266 <strong property="yui:name">fetch</strong> |
|
267 ( |
|
268 |
|
269 |
|
270 withinY |
|
271 |
|
272 |
|
273 ) |
|
274 </code> |
|
275 |
|
276 <div class="description" property="yui:description"> |
|
277 Displays the image; puts the URL into the DOM. |
|
278 This method shouldn't be called externally, but is not private in the rare event that it needs to be called immediately. |
|
279 </div> |
|
280 |
|
281 <div class="description"> |
|
282 |
|
283 <dl rel="yui:parameters"> |
|
284 <dt>Parameters:</dt> |
|
285 <dd rel="yui:parameter"> |
|
286 <code><span property="yui:name">withinY</span> |
|
287 <<span property="yui:type">Int</span>> |
|
288 </code> |
|
289 <span property="yui:description"> The pixel distance from the top of the page, for which if the image lies within, it will be fetched. Undefined indicates that no check should be made, and the image should always be fetched</span> |
|
290 </dd> |
|
291 </dl> |
|
292 |
|
293 <dl> |
|
294 <dt>Returns: |
|
295 <code property="yui:return"> |
|
296 Boolean |
|
297 </code></dt> |
|
298 <dd property="yui:returnInfo">Whether the image has been fetched (either during this execution or previously)</dd> |
|
299 </dl> |
|
300 |
|
301 |
|
302 |
|
303 |
|
304 </div> |
|
305 |
|
306 </div> |
|
307 <hr /> |
|
308 </div> |
|
309 </div> |
|
310 </div> |
|
311 |
|
312 <div rel="yui:inheritance"> |
|
313 <div class="section field inheritance" rel="yui:superclass" resource="EventTarget.html"> |
|
314 <h4>Methods inherited from <a href="EventTarget.html" property="yui:name" title="EventTarget">EventTarget</a>:</h4> |
|
315 <div class="content" rel="yui:methods"> |
|
316 <code> |
|
317 <span rel="yui:method" resource="EventTarget.html#method__getType"> |
|
318 <a class="private" href="EventTarget.html#method__getType" property="yui:name" title="_getType">_getType</a><span class="private">,</span> |
|
319 </span> |
|
320 <span rel="yui:method" resource="EventTarget.html#method__parseType"> |
|
321 <a class="private" href="EventTarget.html#method__parseType" property="yui:name" title="_parseType">_parseType</a><span class="private">,</span> |
|
322 </span> |
|
323 <span rel="yui:method" resource="EventTarget.html#method_addTarget"> |
|
324 <a class="" href="EventTarget.html#method_addTarget" property="yui:name" title="addTarget">addTarget</a><span class="">,</span> |
|
325 </span> |
|
326 <span rel="yui:method" resource="EventTarget.html#method_after"> |
|
327 <a class="" href="EventTarget.html#method_after" property="yui:name" title="after">after</a><span class="">,</span> |
|
328 </span> |
|
329 <span rel="yui:method" resource="EventTarget.html#method_before"> |
|
330 <a class=" deprecated" href="EventTarget.html#method_before" property="yui:name" title="before">before</a><span class=" deprecated">,</span> |
|
331 </span> |
|
332 <span rel="yui:method" resource="EventTarget.html#method_bubble"> |
|
333 <a class="" href="EventTarget.html#method_bubble" property="yui:name" title="bubble">bubble</a><span class="">,</span> |
|
334 </span> |
|
335 <span rel="yui:method" resource="EventTarget.html#method_detach"> |
|
336 <a class="" href="EventTarget.html#method_detach" property="yui:name" title="detach">detach</a><span class="">,</span> |
|
337 </span> |
|
338 <span rel="yui:method" resource="EventTarget.html#method_detachAll"> |
|
339 <a class="" href="EventTarget.html#method_detachAll" property="yui:name" title="detachAll">detachAll</a><span class="">,</span> |
|
340 </span> |
|
341 <span rel="yui:method" resource="EventTarget.html#method_fire"> |
|
342 <a class="" href="EventTarget.html#method_fire" property="yui:name" title="fire">fire</a><span class="">,</span> |
|
343 </span> |
|
344 <span rel="yui:method" resource="EventTarget.html#method_getEvent"> |
|
345 <a class="" href="EventTarget.html#method_getEvent" property="yui:name" title="getEvent">getEvent</a><span class="">,</span> |
|
346 </span> |
|
347 <span rel="yui:method" resource="EventTarget.html#method_on"> |
|
348 <a class="" href="EventTarget.html#method_on" property="yui:name" title="on">on</a><span class="">,</span> |
|
349 </span> |
|
350 <span rel="yui:method" resource="EventTarget.html#method_publish"> |
|
351 <a class="" href="EventTarget.html#method_publish" property="yui:name" title="publish">publish</a><span class="">,</span> |
|
352 </span> |
|
353 <span rel="yui:method" resource="EventTarget.html#method_removeTarget"> |
|
354 <a class="" href="EventTarget.html#method_removeTarget" property="yui:name" title="removeTarget">removeTarget</a><span class="">,</span> |
|
355 </span> |
|
356 <span rel="yui:method" resource="EventTarget.html#method_subscribe"> |
|
357 <a class=" deprecated" href="EventTarget.html#method_subscribe" property="yui:name" title="subscribe">subscribe</a><span class=" deprecated">,</span> |
|
358 </span> |
|
359 <span rel="yui:method" resource="EventTarget.html#method_unsubscribe"> |
|
360 <a class=" deprecated" href="EventTarget.html#method_unsubscribe" property="yui:name" title="unsubscribe">unsubscribe</a><span class=" deprecated">,</span> |
|
361 </span> |
|
362 <span rel="yui:method" resource="EventTarget.html#method_unsubscribeAll"> |
|
363 <a class=" deprecated" href="EventTarget.html#method_unsubscribeAll" property="yui:name" title="unsubscribeAll">unsubscribeAll</a> |
|
364 </span> |
|
365 </code> |
|
366 </div> |
|
367 </div> |
|
368 <div class="section field inheritance" rel="yui:superclass" resource="Attribute.html"> |
|
369 <h4>Methods inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4> |
|
370 <div class="content" rel="yui:methods"> |
|
371 <code> |
|
372 <span rel="yui:method" resource="Attribute.html#method__addAttrs"> |
|
373 <a class="private" href="Attribute.html#method__addAttrs" property="yui:name" title="_addAttrs">_addAttrs</a><span class="private">,</span> |
|
374 </span> |
|
375 <span rel="yui:method" resource="Attribute.html#method__addLazyAttr"> |
|
376 <a class="private" href="Attribute.html#method__addLazyAttr" property="yui:name" title="_addLazyAttr">_addLazyAttr</a><span class="private">,</span> |
|
377 </span> |
|
378 <span rel="yui:method" resource="Attribute.html#method__defAttrChangeFn"> |
|
379 <a class="private" href="Attribute.html#method__defAttrChangeFn" property="yui:name" title="_defAttrChangeFn">_defAttrChangeFn</a><span class="private">,</span> |
|
380 </span> |
|
381 <span rel="yui:method" resource="Attribute.html#method__fireAttrChange"> |
|
382 <a class="private" href="Attribute.html#method__fireAttrChange" property="yui:name" title="_fireAttrChange">_fireAttrChange</a><span class="private">,</span> |
|
383 </span> |
|
384 <span rel="yui:method" resource="Attribute.html#method__getAttr"> |
|
385 <a class="protected" href="Attribute.html#method__getAttr" property="yui:name" title="_getAttr">_getAttr</a><span class="protected">,</span> |
|
386 </span> |
|
387 <span rel="yui:method" resource="Attribute.html#method__getAttrInitVal"> |
|
388 <a class="private" href="Attribute.html#method__getAttrInitVal" property="yui:name" title="_getAttrInitVal">_getAttrInitVal</a><span class="private">,</span> |
|
389 </span> |
|
390 <span rel="yui:method" resource="Attribute.html#method__getAttrs"> |
|
391 <a class="protected" href="Attribute.html#method__getAttrs" property="yui:name" title="_getAttrs">_getAttrs</a><span class="protected">,</span> |
|
392 </span> |
|
393 <span rel="yui:method" resource="Attribute.html#method__getStateVal"> |
|
394 <a class="private" href="Attribute.html#method__getStateVal" property="yui:name" title="_getStateVal">_getStateVal</a><span class="private">,</span> |
|
395 </span> |
|
396 <span rel="yui:method" resource="Attribute.html#method__isLazyAttr"> |
|
397 <a class="private" href="Attribute.html#method__isLazyAttr" property="yui:name" title="_isLazyAttr">_isLazyAttr</a><span class="private">,</span> |
|
398 </span> |
|
399 <span rel="yui:method" resource="Attribute.html#method__normAttrVals"> |
|
400 <a class="private" href="Attribute.html#method__normAttrVals" property="yui:name" title="_normAttrVals">_normAttrVals</a><span class="private">,</span> |
|
401 </span> |
|
402 <span rel="yui:method" resource="Attribute.html#method__protectAttrs"> |
|
403 <a class="protected" href="Attribute.html#method__protectAttrs" property="yui:name" title="_protectAttrs">_protectAttrs</a><span class="protected">,</span> |
|
404 </span> |
|
405 <span rel="yui:method" resource="Attribute.html#method__set"> |
|
406 <a class="protected" href="Attribute.html#method__set" property="yui:name" title="_set">_set</a><span class="protected">,</span> |
|
407 </span> |
|
408 <span rel="yui:method" resource="Attribute.html#method__setAttr"> |
|
409 <a class="protected" href="Attribute.html#method__setAttr" property="yui:name" title="_setAttr">_setAttr</a><span class="protected">,</span> |
|
410 </span> |
|
411 <span rel="yui:method" resource="Attribute.html#method__setAttrs"> |
|
412 <a class="protected" href="Attribute.html#method__setAttrs" property="yui:name" title="_setAttrs">_setAttrs</a><span class="protected">,</span> |
|
413 </span> |
|
414 <span rel="yui:method" resource="Attribute.html#method__setAttrVal"> |
|
415 <a class="private" href="Attribute.html#method__setAttrVal" property="yui:name" title="_setAttrVal">_setAttrVal</a><span class="private">,</span> |
|
416 </span> |
|
417 <span rel="yui:method" resource="Attribute.html#method__setStateVal"> |
|
418 <a class="private" href="Attribute.html#method__setStateVal" property="yui:name" title="_setStateVal">_setStateVal</a><span class="private">,</span> |
|
419 </span> |
|
420 <span rel="yui:method" resource="Attribute.html#method_addAttr"> |
|
421 <a class="" href="Attribute.html#method_addAttr" property="yui:name" title="addAttr">addAttr</a><span class="">,</span> |
|
422 </span> |
|
423 <span rel="yui:method" resource="Attribute.html#method_addAttrs"> |
|
424 <a class="" href="Attribute.html#method_addAttrs" property="yui:name" title="addAttrs">addAttrs</a><span class="">,</span> |
|
425 </span> |
|
426 <span rel="yui:method" resource="Attribute.html#method_attrAdded"> |
|
427 <a class="" href="Attribute.html#method_attrAdded" property="yui:name" title="attrAdded">attrAdded</a><span class="">,</span> |
|
428 </span> |
|
429 <span rel="yui:method" resource="Attribute.html#method_get"> |
|
430 <a class="" href="Attribute.html#method_get" property="yui:name" title="get">get</a><span class="">,</span> |
|
431 </span> |
|
432 <span rel="yui:method" resource="Attribute.html#method_getAttrs"> |
|
433 <a class="" href="Attribute.html#method_getAttrs" property="yui:name" title="getAttrs">getAttrs</a><span class="">,</span> |
|
434 </span> |
|
435 <span rel="yui:method" resource="Attribute.html#method_modifyAttr"> |
|
436 <a class="" href="Attribute.html#method_modifyAttr" property="yui:name" title="modifyAttr">modifyAttr</a><span class="">,</span> |
|
437 </span> |
|
438 <span rel="yui:method" resource="Attribute.html#method_removeAttr"> |
|
439 <a class="" href="Attribute.html#method_removeAttr" property="yui:name" title="removeAttr">removeAttr</a><span class="">,</span> |
|
440 </span> |
|
441 <span rel="yui:method" resource="Attribute.html#method_reset"> |
|
442 <a class="" href="Attribute.html#method_reset" property="yui:name" title="reset">reset</a><span class="">,</span> |
|
443 </span> |
|
444 <span rel="yui:method" resource="Attribute.html#method_set"> |
|
445 <a class="" href="Attribute.html#method_set" property="yui:name" title="set">set</a><span class="">,</span> |
|
446 </span> |
|
447 <span rel="yui:method" resource="Attribute.html#method_setAttrs"> |
|
448 <a class="" href="Attribute.html#method_setAttrs" property="yui:name" title="setAttrs">setAttrs</a> |
|
449 </span> |
|
450 </code> |
|
451 </div> |
|
452 </div> |
|
453 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
454 <h4>Methods inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
455 <div class="content" rel="yui:methods"> |
|
456 <code> |
|
457 <span rel="yui:method" resource="Base.html#method__aggregateAttrs"> |
|
458 <a class="private" href="Base.html#method__aggregateAttrs" property="yui:name" title="_aggregateAttrs">_aggregateAttrs</a><span class="private">,</span> |
|
459 </span> |
|
460 <span rel="yui:method" resource="Base.html#method__defDestroyFn"> |
|
461 <a class="protected" href="Base.html#method__defDestroyFn" property="yui:name" title="_defDestroyFn">_defDestroyFn</a><span class="protected">,</span> |
|
462 </span> |
|
463 <span rel="yui:method" resource="Base.html#method__defInitFn"> |
|
464 <a class="protected" href="Base.html#method__defInitFn" property="yui:name" title="_defInitFn">_defInitFn</a><span class="protected">,</span> |
|
465 </span> |
|
466 <span rel="yui:method" resource="Base.html#method__destroyHierarchy"> |
|
467 <a class="private" href="Base.html#method__destroyHierarchy" property="yui:name" title="_destroyHierarchy">_destroyHierarchy</a><span class="private">,</span> |
|
468 </span> |
|
469 <span rel="yui:method" resource="Base.html#method__filterAttrCfs"> |
|
470 <a class="private" href="Base.html#method__filterAttrCfs" property="yui:name" title="_filterAttrCfs">_filterAttrCfs</a><span class="private">,</span> |
|
471 </span> |
|
472 <span rel="yui:method" resource="Base.html#method__getAttrCfgs"> |
|
473 <a class="protected" href="Base.html#method__getAttrCfgs" property="yui:name" title="_getAttrCfgs">_getAttrCfgs</a><span class="protected">,</span> |
|
474 </span> |
|
475 <span rel="yui:method" resource="Base.html#method__getClasses"> |
|
476 <a class="protected" href="Base.html#method__getClasses" property="yui:name" title="_getClasses">_getClasses</a><span class="protected">,</span> |
|
477 </span> |
|
478 <span rel="yui:method" resource="Base.html#method__initHierarchy"> |
|
479 <a class="private" href="Base.html#method__initHierarchy" property="yui:name" title="_initHierarchy">_initHierarchy</a><span class="private">,</span> |
|
480 </span> |
|
481 <span rel="yui:method" resource="Base.html#method__initHierarchyData"> |
|
482 <a class="private" href="Base.html#method__initHierarchyData" property="yui:name" title="_initHierarchyData">_initHierarchyData</a><span class="private">,</span> |
|
483 </span> |
|
484 <span rel="yui:method" resource="Base.html#method_destroy"> |
|
485 <a class="" href="Base.html#method_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span> |
|
486 </span> |
|
487 <span rel="yui:method" resource="Base.html#method_init"> |
|
488 <a class="" href="Base.html#method_init" property="yui:name" title="init">init</a><span class="">,</span> |
|
489 </span> |
|
490 <span rel="yui:method" resource="Base.html#method_toString"> |
|
491 <a class="" href="Base.html#method_toString" property="yui:name" title="toString">toString</a> |
|
492 </span> |
|
493 </code> |
|
494 </div> |
|
495 </div> |
|
496 </div> |
|
497 </div> |
|
498 |
|
499 <div rel="yui:events" resource="#events"> |
|
500 <div class="section method details"> |
|
501 <h3 id="events">Events</h3> |
|
502 <div class="content"> |
|
503 <div class="" rel="yui:event" resource="#event_bgUrlChange"> |
|
504 <h4> |
|
505 <a name="event_bgUrlChange">bgUrlChange</a></h4> |
|
506 <div class="detail"> |
|
507 <code> |
|
508 |
|
509 |
|
510 |
|
511 <strong property="yui:name">bgUrlChange</strong> |
|
512 |
|
513 ( |
|
514 |
|
515 |
|
516 event |
|
517 |
|
518 |
|
519 ) |
|
520 |
|
521 </code> |
|
522 |
|
523 <div class="description" property="yui:description"> |
|
524 Fires when the value for the configuration attribute 'bgUrl' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
525 </div> |
|
526 |
|
527 <div class="description"> |
|
528 |
|
529 |
|
530 <dl rel="yui:parameters"> |
|
531 <dt>Parameters:</dt> |
|
532 <dd rel="yui:parameter"> |
|
533 <code><span property="yui:name">event</span> |
|
534 <<span property="yui:type">Event.Facade</span>> |
|
535 </code> |
|
536 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
537 </dd> |
|
538 |
|
539 </dl> |
|
540 |
|
541 |
|
542 </div> |
|
543 |
|
544 </div> |
|
545 <hr /> |
|
546 </div> |
|
547 <div class="" rel="yui:event" resource="#event_domIdChange"> |
|
548 <h4> |
|
549 <a name="event_domIdChange">domIdChange</a></h4> |
|
550 <div class="detail"> |
|
551 <code> |
|
552 |
|
553 |
|
554 |
|
555 <strong property="yui:name">domIdChange</strong> |
|
556 |
|
557 ( |
|
558 |
|
559 |
|
560 event |
|
561 |
|
562 |
|
563 ) |
|
564 |
|
565 </code> |
|
566 |
|
567 <div class="description" property="yui:description"> |
|
568 Fires when the value for the configuration attribute 'domId' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
569 </div> |
|
570 |
|
571 <div class="description"> |
|
572 |
|
573 |
|
574 <dl rel="yui:parameters"> |
|
575 <dt>Parameters:</dt> |
|
576 <dd rel="yui:parameter"> |
|
577 <code><span property="yui:name">event</span> |
|
578 <<span property="yui:type">Event.Facade</span>> |
|
579 </code> |
|
580 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
581 </dd> |
|
582 |
|
583 </dl> |
|
584 |
|
585 |
|
586 </div> |
|
587 |
|
588 </div> |
|
589 <hr /> |
|
590 </div> |
|
591 <div class="" rel="yui:event" resource="#event_enabledChange"> |
|
592 <h4> |
|
593 <a name="event_enabledChange">enabledChange</a></h4> |
|
594 <div class="detail"> |
|
595 <code> |
|
596 |
|
597 |
|
598 |
|
599 <strong property="yui:name">enabledChange</strong> |
|
600 |
|
601 ( |
|
602 |
|
603 |
|
604 event |
|
605 |
|
606 |
|
607 ) |
|
608 |
|
609 </code> |
|
610 |
|
611 <div class="description" property="yui:description"> |
|
612 Fires when the value for the configuration attribute 'enabled' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
613 </div> |
|
614 |
|
615 <div class="description"> |
|
616 |
|
617 |
|
618 <dl rel="yui:parameters"> |
|
619 <dt>Parameters:</dt> |
|
620 <dd rel="yui:parameter"> |
|
621 <code><span property="yui:name">event</span> |
|
622 <<span property="yui:type">Event.Facade</span>> |
|
623 </code> |
|
624 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
625 </dd> |
|
626 |
|
627 </dl> |
|
628 |
|
629 |
|
630 </div> |
|
631 |
|
632 </div> |
|
633 <hr /> |
|
634 </div> |
|
635 <div class="" rel="yui:event" resource="#event_heightChange"> |
|
636 <h4> |
|
637 <a name="event_heightChange">heightChange</a></h4> |
|
638 <div class="detail"> |
|
639 <code> |
|
640 |
|
641 |
|
642 |
|
643 <strong property="yui:name">heightChange</strong> |
|
644 |
|
645 ( |
|
646 |
|
647 |
|
648 event |
|
649 |
|
650 |
|
651 ) |
|
652 |
|
653 </code> |
|
654 |
|
655 <div class="description" property="yui:description"> |
|
656 Fires when the value for the configuration attribute 'height' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
657 </div> |
|
658 |
|
659 <div class="description"> |
|
660 |
|
661 |
|
662 <dl rel="yui:parameters"> |
|
663 <dt>Parameters:</dt> |
|
664 <dd rel="yui:parameter"> |
|
665 <code><span property="yui:name">event</span> |
|
666 <<span property="yui:type">Event.Facade</span>> |
|
667 </code> |
|
668 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
669 </dd> |
|
670 |
|
671 </dl> |
|
672 |
|
673 |
|
674 </div> |
|
675 |
|
676 </div> |
|
677 <hr /> |
|
678 </div> |
|
679 <div class="" rel="yui:event" resource="#event_isPngChange"> |
|
680 <h4> |
|
681 <a name="event_isPngChange">isPngChange</a></h4> |
|
682 <div class="detail"> |
|
683 <code> |
|
684 |
|
685 |
|
686 |
|
687 <strong property="yui:name">isPngChange</strong> |
|
688 |
|
689 ( |
|
690 |
|
691 |
|
692 event |
|
693 |
|
694 |
|
695 ) |
|
696 |
|
697 </code> |
|
698 |
|
699 <div class="description" property="yui:description"> |
|
700 Fires when the value for the configuration attribute 'isPng' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
701 </div> |
|
702 |
|
703 <div class="description"> |
|
704 |
|
705 |
|
706 <dl rel="yui:parameters"> |
|
707 <dt>Parameters:</dt> |
|
708 <dd rel="yui:parameter"> |
|
709 <code><span property="yui:name">event</span> |
|
710 <<span property="yui:type">Event.Facade</span>> |
|
711 </code> |
|
712 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
713 </dd> |
|
714 |
|
715 </dl> |
|
716 |
|
717 |
|
718 </div> |
|
719 |
|
720 </div> |
|
721 <hr /> |
|
722 </div> |
|
723 <div class="" rel="yui:event" resource="#event_setVisibleChange"> |
|
724 <h4> |
|
725 <a name="event_setVisibleChange">setVisibleChange</a></h4> |
|
726 <div class="detail"> |
|
727 <code> |
|
728 |
|
729 |
|
730 |
|
731 <strong property="yui:name">setVisibleChange</strong> |
|
732 |
|
733 ( |
|
734 |
|
735 |
|
736 event |
|
737 |
|
738 |
|
739 ) |
|
740 |
|
741 </code> |
|
742 |
|
743 <div class="description" property="yui:description"> |
|
744 Fires when the value for the configuration attribute 'setVisible' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
745 </div> |
|
746 |
|
747 <div class="description"> |
|
748 |
|
749 |
|
750 <dl rel="yui:parameters"> |
|
751 <dt>Parameters:</dt> |
|
752 <dd rel="yui:parameter"> |
|
753 <code><span property="yui:name">event</span> |
|
754 <<span property="yui:type">Event.Facade</span>> |
|
755 </code> |
|
756 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
757 </dd> |
|
758 |
|
759 </dl> |
|
760 |
|
761 |
|
762 </div> |
|
763 |
|
764 </div> |
|
765 <hr /> |
|
766 </div> |
|
767 <div class="" rel="yui:event" resource="#event_sizingMethodChange"> |
|
768 <h4> |
|
769 <a name="event_sizingMethodChange">sizingMethodChange</a></h4> |
|
770 <div class="detail"> |
|
771 <code> |
|
772 |
|
773 |
|
774 |
|
775 <strong property="yui:name">sizingMethodChange</strong> |
|
776 |
|
777 ( |
|
778 |
|
779 |
|
780 event |
|
781 |
|
782 |
|
783 ) |
|
784 |
|
785 </code> |
|
786 |
|
787 <div class="description" property="yui:description"> |
|
788 Fires when the value for the configuration attribute 'sizingMethod' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
789 </div> |
|
790 |
|
791 <div class="description"> |
|
792 |
|
793 |
|
794 <dl rel="yui:parameters"> |
|
795 <dt>Parameters:</dt> |
|
796 <dd rel="yui:parameter"> |
|
797 <code><span property="yui:name">event</span> |
|
798 <<span property="yui:type">Event.Facade</span>> |
|
799 </code> |
|
800 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
801 </dd> |
|
802 |
|
803 </dl> |
|
804 |
|
805 |
|
806 </div> |
|
807 |
|
808 </div> |
|
809 <hr /> |
|
810 </div> |
|
811 <div class="" rel="yui:event" resource="#event_srcUrlChange"> |
|
812 <h4> |
|
813 <a name="event_srcUrlChange">srcUrlChange</a></h4> |
|
814 <div class="detail"> |
|
815 <code> |
|
816 |
|
817 |
|
818 |
|
819 <strong property="yui:name">srcUrlChange</strong> |
|
820 |
|
821 ( |
|
822 |
|
823 |
|
824 event |
|
825 |
|
826 |
|
827 ) |
|
828 |
|
829 </code> |
|
830 |
|
831 <div class="description" property="yui:description"> |
|
832 Fires when the value for the configuration attribute 'srcUrl' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
833 </div> |
|
834 |
|
835 <div class="description"> |
|
836 |
|
837 |
|
838 <dl rel="yui:parameters"> |
|
839 <dt>Parameters:</dt> |
|
840 <dd rel="yui:parameter"> |
|
841 <code><span property="yui:name">event</span> |
|
842 <<span property="yui:type">Event.Facade</span>> |
|
843 </code> |
|
844 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
845 </dd> |
|
846 |
|
847 </dl> |
|
848 |
|
849 |
|
850 </div> |
|
851 |
|
852 </div> |
|
853 <hr /> |
|
854 </div> |
|
855 <div class="" rel="yui:event" resource="#event_widthChange"> |
|
856 <h4> |
|
857 <a name="event_widthChange">widthChange</a></h4> |
|
858 <div class="detail"> |
|
859 <code> |
|
860 |
|
861 |
|
862 |
|
863 <strong property="yui:name">widthChange</strong> |
|
864 |
|
865 ( |
|
866 |
|
867 |
|
868 event |
|
869 |
|
870 |
|
871 ) |
|
872 |
|
873 </code> |
|
874 |
|
875 <div class="description" property="yui:description"> |
|
876 Fires when the value for the configuration attribute 'width' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
877 </div> |
|
878 |
|
879 <div class="description"> |
|
880 |
|
881 |
|
882 <dl rel="yui:parameters"> |
|
883 <dt>Parameters:</dt> |
|
884 <dd rel="yui:parameter"> |
|
885 <code><span property="yui:name">event</span> |
|
886 <<span property="yui:type">Event.Facade</span>> |
|
887 </code> |
|
888 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
889 </dd> |
|
890 |
|
891 </dl> |
|
892 |
|
893 |
|
894 </div> |
|
895 |
|
896 </div> |
|
897 <hr /> |
|
898 </div> |
|
899 </div> |
|
900 </div> |
|
901 |
|
902 |
|
903 <div rel="yui:inheritance"> |
|
904 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
905 <h4>Events inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
906 <div class="content" rel="yui:events"> |
|
907 <code> |
|
908 <span rel="yui:event" resource="Base.html#event_destroy"> |
|
909 <a class="" href="Base.html#event_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span> |
|
910 </span> |
|
911 <span rel="yui:event" resource="Base.html#event_destroyedChange"> |
|
912 <a class="" href="Base.html#event_destroyedChange" property="yui:name" title="destroyedChange">destroyedChange</a><span class="">,</span> |
|
913 </span> |
|
914 <span rel="yui:event" resource="Base.html#event_init"> |
|
915 <a class="" href="Base.html#event_init" property="yui:name" title="init">init</a><span class="">,</span> |
|
916 </span> |
|
917 <span rel="yui:event" resource="Base.html#event_initializedChange"> |
|
918 <a class="" href="Base.html#event_initializedChange" property="yui:name" title="initializedChange">initializedChange</a><span class="">,</span> |
|
919 </span> |
|
920 |
|
921 </code> |
|
922 </div> |
|
923 </div> |
|
924 </div> |
|
925 </div> |
|
926 |
|
927 <div rel="yui:attributes" resource="#configattributes"> |
|
928 <div class="section field details"> |
|
929 <h3 id="configattributes">Configuration Attributes</h3> |
|
930 <div class="content"> |
|
931 <div class="" rel="yui:attribute" resource="#config_bgUrl"> |
|
932 <h4><a name="config_bgUrl">bgUrl</a> |
|
933 <code>- <span property="yui:type">String</span></code> |
|
934 </h4> |
|
935 <div class="detail"> |
|
936 <div class="description" property="yui:description"> |
|
937 Background URL for the image. |
|
938 For an image whose URL is specified by "<code>background-image</code>" in the element's style. |
|
939 </div> |
|
940 </div> |
|
941 |
|
942 |
|
943 |
|
944 <hr /> |
|
945 </div> |
|
946 <div class="" rel="yui:attribute" resource="#config_domId"> |
|
947 <h4><a name="config_domId">domId</a> |
|
948 <code>- <span property="yui:type">String</span></code> |
|
949 </h4> |
|
950 <div class="detail"> |
|
951 <div class="description" property="yui:description"> |
|
952 HTML DOM id of the image element. |
|
953 </div> |
|
954 </div> |
|
955 |
|
956 |
|
957 |
|
958 <hr /> |
|
959 </div> |
|
960 <div class="" rel="yui:attribute" resource="#config_enabled"> |
|
961 <h4><a name="config_enabled">enabled</a> |
|
962 <code>- <span property="yui:type">String</span></code> |
|
963 </h4> |
|
964 <div class="detail"> |
|
965 <div class="description" property="yui:description"> |
|
966 AlphaImageLoader <code>enabled</code> property to be set for the image. |
|
967 Only set if <code>isPng</code> value for this image is set to <code>true</code>. |
|
968 Defaults to <code>true</code>. |
|
969 </div> |
|
970 </div> |
|
971 |
|
972 |
|
973 |
|
974 <hr /> |
|
975 </div> |
|
976 <div class="" rel="yui:attribute" resource="#config_height"> |
|
977 <h4><a name="config_height">height</a> |
|
978 <code>- <span property="yui:type">Int</span></code> |
|
979 </h4> |
|
980 <div class="detail"> |
|
981 <div class="description" property="yui:description"> |
|
982 Pixel height of the image. Will be set as a <code>height</code> attribute on the DOM element after the image is fetched. |
|
983 Defaults to the natural height of the image (no <code>height</code> attribute will be set). |
|
984 Usually only used with src images. |
|
985 </div> |
|
986 </div> |
|
987 |
|
988 |
|
989 |
|
990 <hr /> |
|
991 </div> |
|
992 <div class="" rel="yui:attribute" resource="#config_isPng"> |
|
993 <h4><a name="config_isPng">isPng</a> |
|
994 <code>- <span property="yui:type">Boolean</span></code> |
|
995 </h4> |
|
996 <div class="detail"> |
|
997 <div class="description" property="yui:description"> |
|
998 Whether the image is a PNG. |
|
999 PNG images get special treatment in that the URL is specified through AlphaImageLoader for IE, versions 6 and earlier. |
|
1000 Only used with background images. |
|
1001 </div> |
|
1002 </div> |
|
1003 |
|
1004 |
|
1005 |
|
1006 <hr /> |
|
1007 </div> |
|
1008 <div class="" rel="yui:attribute" resource="#config_setVisible"> |
|
1009 <h4><a name="config_setVisible">setVisible</a> |
|
1010 <code>- <span property="yui:type">Boolean</span></code> |
|
1011 </h4> |
|
1012 <div class="detail"> |
|
1013 <div class="description" property="yui:description"> |
|
1014 Whether the image's <code>style.visibility</code> should be set to <code>visible</code> after the image is fetched. |
|
1015 Used when setting images as <code>visibility:hidden</code> prior to image fetching. |
|
1016 </div> |
|
1017 </div> |
|
1018 |
|
1019 |
|
1020 |
|
1021 <hr /> |
|
1022 </div> |
|
1023 <div class="" rel="yui:attribute" resource="#config_sizingMethod"> |
|
1024 <h4><a name="config_sizingMethod">sizingMethod</a> |
|
1025 <code>- <span property="yui:type">String</span></code> |
|
1026 </h4> |
|
1027 <div class="detail"> |
|
1028 <div class="description" property="yui:description"> |
|
1029 AlphaImageLoader <code>sizingMethod</code> property to be set for the image. |
|
1030 Only set if <code>isPng</code> value for this image is set to <code>true</code>. |
|
1031 Defaults to <code>scale</code>. |
|
1032 </div> |
|
1033 </div> |
|
1034 |
|
1035 |
|
1036 |
|
1037 <hr /> |
|
1038 </div> |
|
1039 <div class="" rel="yui:attribute" resource="#config_srcUrl"> |
|
1040 <h4><a name="config_srcUrl">srcUrl</a> |
|
1041 <code>- <span property="yui:type">String</span></code> |
|
1042 </h4> |
|
1043 <div class="detail"> |
|
1044 <div class="description" property="yui:description"> |
|
1045 Source URL for the image. |
|
1046 For an image whose URL is specified by a "<code>src</code>" attribute in the DOM element. |
|
1047 </div> |
|
1048 </div> |
|
1049 |
|
1050 |
|
1051 |
|
1052 <hr /> |
|
1053 </div> |
|
1054 <div class="" rel="yui:attribute" resource="#config_width"> |
|
1055 <h4><a name="config_width">width</a> |
|
1056 <code>- <span property="yui:type">Int</span></code> |
|
1057 </h4> |
|
1058 <div class="detail"> |
|
1059 <div class="description" property="yui:description"> |
|
1060 Pixel width of the image. Will be set as a <code>width</code> attribute on the DOM element after the image is fetched. |
|
1061 Defaults to the natural width of the image (no <code>width</code> attribute will be set). |
|
1062 Usually only used with src images. |
|
1063 </div> |
|
1064 </div> |
|
1065 |
|
1066 |
|
1067 |
|
1068 <hr /> |
|
1069 </div> |
|
1070 |
|
1071 </div> |
|
1072 </div> |
|
1073 |
|
1074 <div rel="yui:inheritance"> |
|
1075 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
1076 <h4>Configuration attributes inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
1077 <div class="content" rel="yui:attributes"> |
|
1078 <code> |
|
1079 <span rel="yui:attribute" resource="Base.html#config_destroyed"> |
|
1080 <a class="" href="Base.html#config_destroyed" property="yui:name" title="destroyed">destroyed</a><span class="">,</span> |
|
1081 </span> |
|
1082 <span rel="yui:attribute" resource="Base.html#config_initialized"> |
|
1083 <a class="" href="Base.html#config_initialized" property="yui:name" title="initialized">initialized</a><span class="">,</span> |
|
1084 </span> |
|
1085 |
|
1086 </code> |
|
1087 </div> |
|
1088 </div> |
|
1089 </div> |
|
1090 </div> |
|
1091 |
|
1092 </div> |
|
1093 </div> |
|
1094 <div class="yui-b"> |
|
1095 <div class="nav"> |
|
1096 |
|
1097 <div id="moduleList" class="module"> |
|
1098 <h4>Modules</h4> |
|
1099 <ul class="content"> |
|
1100 <li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
1101 <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
1102 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
1103 <li class=""><a href="module_base.html" title="base">base</a></li> |
|
1104 <li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
1105 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
1106 <li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
1107 <li class=""><a href="module_console.html" title="console">console</a></li> |
|
1108 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
1109 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
1110 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
1111 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
1112 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
1113 <li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
1114 <li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
1115 <li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
1116 <li class=""><a href="module_event.html" title="event">event</a></li> |
|
1117 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
1118 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
1119 <li class=""><a href="module_history.html" title="history">history</a></li> |
|
1120 <li class="selected"><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
1121 <li class=""><a href="module_io.html" title="io">io</a></li> |
|
1122 <li class=""><a href="module_json.html" title="json">json</a></li> |
|
1123 <li class=""><a href="module_node.html" title="node">node</a></li> |
|
1124 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
1125 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
1126 <li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
1127 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
1128 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
1129 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
1130 <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
1131 <li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
1132 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
1133 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
1134 <li class=""><a href="module_test.html" title="test">test</a></li> |
|
1135 <li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
1136 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
1137 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
1138 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
1139 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
1140 <li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
1141 </ul> |
|
1142 </div> |
|
1143 |
|
1144 <div id="classList" class="module"> |
|
1145 <h4>Classes</h4> |
|
1146 <ul class="content"> |
|
1147 <li class=""><a href="ImgLoadGroup.html" title="ImgLoadGroup">ImgLoadGroup</a></li> |
|
1148 <li class="selected"><a href="ImgLoadImgObj.html" title="ImgLoadImgObj">ImgLoadImgObj</a></li> |
|
1149 </ul> |
|
1150 </div> |
|
1151 |
|
1152 <div id="fileList" class="module"> |
|
1153 <h4>Files</h4> |
|
1154 <ul class="content"> |
|
1155 <li class=""><a href="imageloader.js.html" title="imageloader.js">imageloader.js</a></li> |
|
1156 </ul> |
|
1157 </div> |
|
1158 |
|
1159 <div id="propertyList" class="module"> |
|
1160 <h4>Properties</h4> |
|
1161 <ul class="content"> |
|
1162 <li class="private"><a href="#property__fetched" title="_fetched">_fetched</a></li> |
|
1163 <li class="private"><a href="#property__imgEl" title="_imgEl">_imgEl</a></li> |
|
1164 <li class="private"><a href="#property__yPos" title="_yPos">_yPos</a></li> |
|
1165 </ul> |
|
1166 </div> |
|
1167 |
|
1168 <div id="methodsList" class="module"> |
|
1169 <h4>Methods</h4> |
|
1170 <ul class="content"> |
|
1171 <li class="private"><a href="#method__getImgEl" title="_getImgEl">_getImgEl</a></li> |
|
1172 <li class="private"><a href="#method__getYPos" title="_getYPos">_getYPos</a></li> |
|
1173 <li class="private"><a href="#method__init" title="_init">_init</a></li> |
|
1174 <li class=""><a href="#method_fetch" title="fetch">fetch</a></li> |
|
1175 </ul> |
|
1176 </div> |
|
1177 |
|
1178 <div id="eventsList" class="module"> |
|
1179 <h4>Events</h4> |
|
1180 <ul class="content"> |
|
1181 <li class=""><a href="#event_bgUrlChange" title="bgUrlChange">bgUrlChange</a></li> |
|
1182 <li class=""><a href="#event_domIdChange" title="domIdChange">domIdChange</a></li> |
|
1183 <li class=""><a href="#event_enabledChange" title="enabledChange">enabledChange</a></li> |
|
1184 <li class=""><a href="#event_heightChange" title="heightChange">heightChange</a></li> |
|
1185 <li class=""><a href="#event_isPngChange" title="isPngChange">isPngChange</a></li> |
|
1186 <li class=""><a href="#event_setVisibleChange" title="setVisibleChange">setVisibleChange</a></li> |
|
1187 <li class=""><a href="#event_sizingMethodChange" title="sizingMethodChange">sizingMethodChange</a></li> |
|
1188 <li class=""><a href="#event_srcUrlChange" title="srcUrlChange">srcUrlChange</a></li> |
|
1189 <li class=""><a href="#event_widthChange" title="widthChange">widthChange</a></li> |
|
1190 </ul> |
|
1191 </div> |
|
1192 |
|
1193 <div id="configList" class="module"> |
|
1194 <h4>Configuration Attributes</h4> |
|
1195 <ul class="content"> |
|
1196 <li class=""><a href="#config_bgUrl" title="bgUrl">bgUrl</a></li> |
|
1197 <li class=""><a href="#config_domId" title="domId">domId</a></li> |
|
1198 <li class=""><a href="#config_enabled" title="enabled">enabled</a></li> |
|
1199 <li class=""><a href="#config_height" title="height">height</a></li> |
|
1200 <li class=""><a href="#config_isPng" title="isPng">isPng</a></li> |
|
1201 <li class=""><a href="#config_setVisible" title="setVisible">setVisible</a></li> |
|
1202 <li class=""><a href="#config_sizingMethod" title="sizingMethod">sizingMethod</a></li> |
|
1203 <li class=""><a href="#config_srcUrl" title="srcUrl">srcUrl</a></li> |
|
1204 <li class=""><a href="#config_width" title="width">width</a></li> |
|
1205 </ul> |
|
1206 </div> |
|
1207 |
|
1208 </div> |
|
1209 </div> |
|
1210 </div> |
|
1211 <div id="ft"> |
|
1212 <hr /> |
|
1213 Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
1214 </div> |
|
1215 </div> |
|
1216 <script type="text/javascript"> |
|
1217 ALL_YUI_PROPS = [{"access": "", "host": "ImgLoadGroup", "name": "addCustomTrigger", "url": "ImgLoadGroup.html#method_addCustomTrigger", "type": "method"}, {"access": "", "host": "ImgLoadGroup", "name": "addTrigger", "url": "ImgLoadGroup.html#method_addTrigger", "type": "method"}, {"access": "private", "host": "ImgLoadGroup", "name": "_areFoldTriggersSet", "url": "ImgLoadGroup.html#property__areFoldTriggersSet", "type": "property"}, {"access": "", "host": "ImgLoadImgObj", "name": "bgUrl", "url": "ImgLoadImgObj.html#config_bgUrl", "type": "config"}, {"access": "", "host": "ImgLoadImgObj", "name": "bgUrlChange", "url": "ImgLoadImgObj.html#event_bgUrlChange", "type": "event"}, {"access": "private", "host": "ImgLoadGroup", "name": "_classImageEls", "url": "ImgLoadGroup.html#property__classImageEls", "type": "property"}, {"access": "private", "host": "ImgLoadGroup", "name": "_className", "url": "ImgLoadGroup.html#property__className", "type": "property"}, {"access": "", "host": "ImgLoadGroup", "name": "className", "url": "ImgLoadGroup.html#config_className", "type": "config"}, {"access": "", "host": "ImgLoadGroup", "name": "classNameChange", "url": "ImgLoadGroup.html#event_classNameChange", "type": "event"}, {"access": "private", "host": "ImgLoadGroup", "name": "_clearTriggers", "url": "ImgLoadGroup.html#method__clearTriggers", "type": "method"}, {"access": "", "host": "ImgLoadImgObj", "name": "domId", "url": "ImgLoadImgObj.html#config_domId", "type": "config"}, {"access": "", "host": "ImgLoadImgObj", "name": "domIdChange", "url": "ImgLoadImgObj.html#event_domIdChange", "type": "event"}, {"access": "", "host": "ImgLoadImgObj", "name": "enabled", "url": "ImgLoadImgObj.html#config_enabled", "type": "config"}, {"access": "", "host": "ImgLoadImgObj", "name": "enabledChange", "url": "ImgLoadImgObj.html#event_enabledChange", "type": "event"}, {"access": "", "host": "ImgLoadGroup", "name": "fetch", "url": "ImgLoadGroup.html#method_fetch", "type": "method"}, {"access": "", "host": "ImgLoadImgObj", "name": "fetch", "url": "ImgLoadImgObj.html#method_fetch", "type": "method"}, {"access": "private", "host": "ImgLoadGroup", "name": "_fetchByClass", "url": "ImgLoadGroup.html#method__fetchByClass", "type": "method"}, {"access": "private", "host": "ImgLoadImgObj", "name": "_fetched", "url": "ImgLoadImgObj.html#property__fetched", "type": "property"}, {"access": "private", "host": "ImgLoadGroup", "name": "_foldCheck", "url": "ImgLoadGroup.html#method__foldCheck", "type": "method"}, {"access": "", "host": "ImgLoadGroup", "name": "foldDistance", "url": "ImgLoadGroup.html#config_foldDistance", "type": "config"}, {"access": "", "host": "ImgLoadGroup", "name": "foldDistanceChange", "url": "ImgLoadGroup.html#event_foldDistanceChange", "type": "event"}, {"access": "private", "host": "ImgLoadGroup", "name": "_getFetchTimeout", "url": "ImgLoadGroup.html#method__getFetchTimeout", "type": "method"}, {"access": "private", "host": "ImgLoadImgObj", "name": "_getImgEl", "url": "ImgLoadImgObj.html#method__getImgEl", "type": "method"}, {"access": "private", "host": "ImgLoadImgObj", "name": "_getYPos", "url": "ImgLoadImgObj.html#method__getYPos", "type": "method"}, {"access": "", "host": "ImgLoadImgObj", "name": "height", "url": "ImgLoadImgObj.html#config_height", "type": "config"}, {"access": "", "host": "ImgLoadImgObj", "name": "heightChange", "url": "ImgLoadImgObj.html#event_heightChange", "type": "event"}, {"access": "private", "host": "ImgLoadImgObj", "name": "_imgEl", "url": "ImgLoadImgObj.html#property__imgEl", "type": "property"}, {"access": "private", "host": "ImgLoadGroup", "name": "_imgObjs", "url": "ImgLoadGroup.html#property__imgObjs", "type": "property"}, {"access": "private", "host": "ImgLoadGroup", "name": "_init", "url": "ImgLoadGroup.html#method__init", "type": "method"}, {"access": "private", "host": "ImgLoadImgObj", "name": "_init", "url": "ImgLoadImgObj.html#method__init", "type": "method"}, {"access": "", "host": "ImgLoadImgObj", "name": "isPng", "url": "ImgLoadImgObj.html#config_isPng", "type": "config"}, {"access": "", "host": "ImgLoadImgObj", "name": "isPngChange", "url": "ImgLoadImgObj.html#event_isPngChange", "type": "event"}, {"access": "private", "host": "ImgLoadGroup", "name": "_maxKnownHLimit", "url": "ImgLoadGroup.html#property__maxKnownHLimit", "type": "property"}, {"access": "", "host": "ImgLoadGroup", "name": "name", "url": "ImgLoadGroup.html#config_name", "type": "config"}, {"access": "", "host": "ImgLoadGroup", "name": "nameChange", "url": "ImgLoadGroup.html#event_nameChange", "type": "event"}, {"access": "private", "host": "ImgLoadGroup", "name": "_onloadTasks", "url": "ImgLoadGroup.html#method__onloadTasks", "type": "method"}, {"access": "", "host": "ImgLoadGroup", "name": "registerImage", "url": "ImgLoadGroup.html#method_registerImage", "type": "method"}, {"access": "private", "host": "ImgLoadGroup", "name": "_setFoldTriggers", "url": "ImgLoadGroup.html#method__setFoldTriggers", "type": "method"}, {"access": "", "host": "ImgLoadImgObj", "name": "setVisible", "url": "ImgLoadImgObj.html#config_setVisible", "type": "config"}, {"access": "", "host": "ImgLoadImgObj", "name": "setVisibleChange", "url": "ImgLoadImgObj.html#event_setVisibleChange", "type": "event"}, {"access": "", "host": "ImgLoadImgObj", "name": "sizingMethod", "url": "ImgLoadImgObj.html#config_sizingMethod", "type": "config"}, {"access": "", "host": "ImgLoadImgObj", "name": "sizingMethodChange", "url": "ImgLoadImgObj.html#event_sizingMethodChange", "type": "event"}, {"access": "", "host": "ImgLoadImgObj", "name": "srcUrl", "url": "ImgLoadImgObj.html#config_srcUrl", "type": "config"}, {"access": "", "host": "ImgLoadImgObj", "name": "srcUrlChange", "url": "ImgLoadImgObj.html#event_srcUrlChange", "type": "event"}, {"access": "", "host": "ImgLoadGroup", "name": "timeLimit", "url": "ImgLoadGroup.html#config_timeLimit", "type": "config"}, {"access": "", "host": "ImgLoadGroup", "name": "timeLimitChange", "url": "ImgLoadGroup.html#event_timeLimitChange", "type": "event"}, {"access": "private", "host": "ImgLoadGroup", "name": "_timeout", "url": "ImgLoadGroup.html#property__timeout", "type": "property"}, {"access": "private", "host": "ImgLoadGroup", "name": "_triggers", "url": "ImgLoadGroup.html#property__triggers", "type": "property"}, {"access": "", "host": "ImgLoadImgObj", "name": "width", "url": "ImgLoadImgObj.html#config_width", "type": "config"}, {"access": "", "host": "ImgLoadImgObj", "name": "widthChange", "url": "ImgLoadImgObj.html#event_widthChange", "type": "event"}, {"access": "private", "host": "ImgLoadImgObj", "name": "_yPos", "url": "ImgLoadImgObj.html#property__yPos", "type": "property"}]; |
|
1218 </script> |
|
1219 </body> |
|
1220 </html> |