sync
[roojs1] / docs / symbols / Roo.Fx.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
6         <head>
7                 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8                 <meta name="generator" content="JsDoc Toolkit" />
9                 
10                 
11                 <title>JsDoc Reference - Roo.Fx</title>
12                 
13                 
14         <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />            
15         <link rel="stylesheet" type="text/css" href="../default.css" />
16         
17         
18         <script type="text/javascript" src="../page.js">
19         
20         </script>
21          
22                 
23         </head>
24
25         <body onload="RooDocsPage.onload();">
26          
27         
28 <div class="body-wrap">
29
30     <!-- ============================== links to methods. ================================= --> 
31
32     <div class="top-tools">
33     <!--
34         <a class="inner-link" href="#Roo.Fx-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.Fx-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.Fx-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.Fx-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38         <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
39         -->
40     </div>
41
42     
43 <!-- ============================== inheritance Block. ================================= -->    
44         
45 <!-- ============================== class title / details ============================ -->
46     
47     
48     <h1 class="classTitle">
49                                 
50                                 Class Roo.Fx
51                         </h1>
52                         
53     <table cellspacing="0" class="class-summary-table">
54         
55                 <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
56         
57         <tr><td class="label">Defined In:</td><td class="hd-info">
58                         
59                                         <a href="./src/Roo_Fx.js.html">Roo/Fx.js</a>.
60                         
61         </td></tr>
62         <tr><td class="label">Class:</td><td class="hd-info">Fx</td></tr>
63         
64         
65         
66         
67     </table>
68
69     
70 <!-- ============================== class summary ========================== -->                        
71     <div class="description">
72         <p>A class to provide basic animation and visual effects support.  <b>Note:</b> This class is automatically applied<br/>to the {<b>link</b> Roo.Element} interface when included, so all effects calls should be performed via Element.<br/>Conversely, since the effects are not actually defined in Element, Roo.Fx <b>must</b> be included in order for the <br/>Element effects to work.</p><br/><br/><br/><p>It is important to note that although the Fx methods and many non-Fx Element methods support "method chaining" in that<br/>they return the Element object itself as the method return value, it is not always possible to mix the two in a single<br/>method chain.  The Fx methods use an internal effects queue so that each effect can be properly timed and sequenced.<br/>Non-Fx methods, on the other hand, have no such internal queueing and will always execute immediately.  For this reason,<br/>while it may be possible to mix certain Fx and non-Fx method calls in a single chain, it may not always provide the<br/>expected results and should be done with care.</p><br/><br/><br/><p>Motion effects support 8-way anchoring, meaning that you can choose one of 8 different anchor points on the Element<br/>that will serve as either the start or end point of the animation.  Following are all of the supported anchor positions:</p><br/><pre><br/>Value  Description<br/>-----  -----------------------------<br/>tl     The top left corner<br/>t      The center of the top edge<br/>tr     The top right corner<br/>l      The center of the left edge<br/>r      The center of the right edge<br/>bl     The bottom left corner<br/>b      The center of the bottom edge<br/>br     The bottom right corner<br/></pre><br/><b>Although some Fx methods accept specific custom config parameters, the ones shown in the Config Options section<br/>below are common options that can be passed to any Fx method.</b>
73     </div>
74
75         
76 <!-- ============================== Class comment block... ========================== -->                                       
77
78 <div class="comments">
79         <b>Class Comments / Notes</B> =>  
80         <u onclick="parent.CommentDialog.showCommentId = 'Roo.Fx';">[Add Your comment/notes about this class]</u>
81         <br/>
82         <iframe frameborder="0"  id="comments-Roo" style="border: none;width:100%;" 
83                 src="/blog.php/GtkDjsComments/Roo.Fx.html"></iframe>
84 </div>
85         
86
87                 
88 <!-- ============================== config options ========================== -->                                               
89                  
90     
91     
92                 
93     <div class="hr"></div>
94     <a id="Roo.Fx-configs"></a>
95                 
96     
97      
98     
99         
100       <table cellspacing="0" class="member-table">   
101       <caption>Config Options (Usually are also Properties)</caption>
102     
103         
104         <tr>
105             <th class="sig-header" colspan="2">Options</th>
106             
107             <th class="msource-header">Defined By</th>
108         </tr>
109         
110         
111         
112         
113         
114                 <tr class="config-row expandable config-row-alt0 notInherited">
115                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
116                     <td class="sig">
117
118                         <a id="Roo.Fx-cfg-afterCls" name=".afterCls"></a>
119                         <div class="fixedFont">
120                                 <b  class="itemname">afterCls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
121                                 
122                                 
123                         </div>
124                   
125                         <div class="mdesc">
126                             <div class="short">A css class to apply after the effect</div> 
127                         </div>
128                         
129                         <div class="mdesc">
130                             <div class="long">A css class to apply after the effect</div> 
131                         </div>
132                         
133                         
134
135                     </td>
136                     <td class="msource">
137                         
138                         Roo.Fx
139                                 
140                     </td>
141                 </tr>
142         
143         
144                 <tr class="config-row expandable config-row-alt1 notInherited">
145                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
146                     <td class="sig">
147
148                         <a id="Roo.Fx-cfg-afterStyle" name=".afterStyle"></a>
149                         <div class="fixedFont">
150                                 <b  class="itemname">afterStyle</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object/Function
151                                 
152                                 
153                         </div>
154                   
155                         <div class="mdesc">
156                             <div class="short">A style specification string, e.g.</div> 
157                         </div>
158                         
159                         <div class="mdesc">
160                             <div class="long">A style specification string, e.g. "width:100px", or an object in the form {width:"100px"}, or<br/>a function which returns such a specification that will be applied to the Element after the effect finishes</div> 
161                         </div>
162                         
163                         
164
165                     </td>
166                     <td class="msource">
167                         
168                         Roo.Fx
169                                 
170                     </td>
171                 </tr>
172         
173         
174                 <tr class="config-row expandable config-row-alt0 notInherited">
175                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
176                     <td class="sig">
177
178                         <a id="Roo.Fx-cfg-block" name=".block"></a>
179                         <div class="fixedFont">
180                                 <b  class="itemname">block</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
181                                 
182                                 
183                         </div>
184                   
185                         <div class="mdesc">
186                             <div class="short">Whether the effect should block other effects from queueing while it runs</div> 
187                         </div>
188                         
189                         <div class="mdesc">
190                             <div class="long">Whether the effect should block other effects from queueing while it runs</div> 
191                         </div>
192                         
193                         
194
195                     </td>
196                     <td class="msource">
197                         
198                         Roo.Fx
199                                 
200                     </td>
201                 </tr>
202         
203         
204                 <tr class="config-row expandable config-row-alt1 notInherited">
205                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
206                     <td class="sig">
207
208                         <a id="Roo.Fx-cfg-callback" name=".callback"></a>
209                         <div class="fixedFont">
210                                 <b  class="itemname">callback</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
211                                 
212                                 
213                         </div>
214                   
215                         <div class="mdesc">
216                             <div class="short">A function called when the effect is finished</div> 
217                         </div>
218                         
219                         <div class="mdesc">
220                             <div class="long">A function called when the effect is finished</div> 
221                         </div>
222                         
223                         
224
225                     </td>
226                     <td class="msource">
227                         
228                         Roo.Fx
229                                 
230                     </td>
231                 </tr>
232         
233         
234                 <tr class="config-row expandable config-row-alt0 notInherited">
235                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
236                     <td class="sig">
237
238                         <a id="Roo.Fx-cfg-concurrent" name=".concurrent"></a>
239                         <div class="fixedFont">
240                                 <b  class="itemname">concurrent</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
241                                 
242                                 
243                         </div>
244                   
245                         <div class="mdesc">
246                             <div class="short">Whether to allow subsequently-queued effects to run at the same time as the current effect, or to ensure that they run in sequence</div> 
247                         </div>
248                         
249                         <div class="mdesc">
250                             <div class="long">Whether to allow subsequently-queued effects to run at the same time as the current effect, or to ensure that they run in sequence</div> 
251                         </div>
252                         
253                         
254
255                     </td>
256                     <td class="msource">
257                         
258                         Roo.Fx
259                                 
260                     </td>
261                 </tr>
262         
263         
264                 <tr class="config-row expandable config-row-alt1 notInherited">
265                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
266                     <td class="sig">
267
268                         <a id="Roo.Fx-cfg-duration" name=".duration"></a>
269                         <div class="fixedFont">
270                                 <b  class="itemname">duration</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
271                                 
272                                 
273                         </div>
274                   
275                         <div class="mdesc">
276                             <div class="short">The length of time (in seconds) that the effect should last</div> 
277                         </div>
278                         
279                         <div class="mdesc">
280                             <div class="long">The length of time (in seconds) that the effect should last</div> 
281                         </div>
282                         
283                         
284
285                     </td>
286                     <td class="msource">
287                         
288                         Roo.Fx
289                                 
290                     </td>
291                 </tr>
292         
293         
294                 <tr class="config-row expandable config-row-alt0 notInherited">
295                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
296                     <td class="sig">
297
298                         <a id="Roo.Fx-cfg-easing" name=".easing"></a>
299                         <div class="fixedFont">
300                                 <b  class="itemname">easing</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
301                                 
302                                 
303                         </div>
304                   
305                         <div class="mdesc">
306                             <div class="short">A valid Easing value for the effect</div> 
307                         </div>
308                         
309                         <div class="mdesc">
310                             <div class="long">A valid Easing value for the effect</div> 
311                         </div>
312                         
313                         
314
315                     </td>
316                     <td class="msource">
317                         
318                         Roo.Fx
319                                 
320                     </td>
321                 </tr>
322         
323         
324                 <tr class="config-row expandable config-row-alt1 notInherited">
325                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
326                     <td class="sig">
327
328                         <a id="Roo.Fx-cfg-remove" name=".remove"></a>
329                         <div class="fixedFont">
330                                 <b  class="itemname">remove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
331                                 
332                                 
333                         </div>
334                   
335                         <div class="mdesc">
336                             <div class="short">Whether the Element should be removed from the DOM and destroyed after the effect finishes</div> 
337                         </div>
338                         
339                         <div class="mdesc">
340                             <div class="long">Whether the Element should be removed from the DOM and destroyed after the effect finishes</div> 
341                         </div>
342                         
343                         
344
345                     </td>
346                     <td class="msource">
347                         
348                         Roo.Fx
349                                 
350                     </td>
351                 </tr>
352         
353         
354                 <tr class="config-row expandable config-row-alt0 notInherited">
355                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
356                     <td class="sig">
357
358                         <a id="Roo.Fx-cfg-scope" name=".scope"></a>
359                         <div class="fixedFont">
360                                 <b  class="itemname">scope</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
361                                 
362                                 
363                         </div>
364                   
365                         <div class="mdesc">
366                             <div class="short">The scope of the effect function</div> 
367                         </div>
368                         
369                         <div class="mdesc">
370                             <div class="long">The scope of the effect function</div> 
371                         </div>
372                         
373                         
374
375                     </td>
376                     <td class="msource">
377                         
378                         Roo.Fx
379                                 
380                     </td>
381                 </tr>
382         
383         
384                 <tr class="config-row expandable config-row-alt1 notInherited">
385                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
386                     <td class="sig">
387
388                         <a id="Roo.Fx-cfg-stopFx" name=".stopFx"></a>
389                         <div class="fixedFont">
390                                 <b  class="itemname">stopFx</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
391                                 
392                                 
393                         </div>
394                   
395                         <div class="mdesc">
396                             <div class="short">Whether subsequent effects should be stopped and removed after the current effect finishes</div> 
397                         </div>
398                         
399                         <div class="mdesc">
400                             <div class="long">Whether subsequent effects should be stopped and removed after the current effect finishes</div> 
401                         </div>
402                         
403                         
404
405                     </td>
406                     <td class="msource">
407                         
408                         Roo.Fx
409                                 
410                     </td>
411                 </tr>
412         
413         
414                 <tr class="config-row expandable config-row-alt0 notInherited">
415                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
416                     <td class="sig">
417
418                         <a id="Roo.Fx-cfg-useDisplay" name=".useDisplay"></a>
419                         <div class="fixedFont">
420                                 <b  class="itemname">useDisplay</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
421                                 
422                                 
423                         </div>
424                   
425                         <div class="mdesc">
426                             <div class="short">Whether to use the <i>display</i> CSS property instead of <i>visibility</i> when hiding Elements (only applies to <br/>effects that end with the element being visually hidden, ignored otherwise)</div> 
427                         </div>
428                         
429                         <div class="mdesc">
430                             <div class="long">Whether to use the <i>display</i> CSS property instead of <i>visibility</i> when hiding Elements (only applies to <br/>effects that end with the element being visually hidden, ignored otherwise)</div> 
431                         </div>
432                         
433                         
434
435                     </td>
436                     <td class="msource">
437                         
438                         Roo.Fx
439                                 
440                     </td>
441                 </tr>
442         
443         
444     </table>
445                 
446   
447   
448   
449   
450   
451   
452   
453   
454   <!-- ============================== public properties ==================== -->        
455   
456   
457   
458     <a id="Roo.Fx-props"></a>      
459     
460     
461
462     
463     
464      <table cellspacing="0" class="member-table">
465       <caption class="Empty">Public Properties - Has None</caption>
466      </table>
467     
468     
469      
470     
471   <!-- ============================== methods summary / details ======================== -->
472   
473   
474   <a id="Roo.Fx-methods"></a>
475         <!-- constructor?? -->
476         
477         <!-- static's first 
478         
479         
480         -->
481         
482         <!-- then dynamics first -->
483         
484   
485   
486     
487     
488     
489       <table cellspacing="0" class="member-table">
490       <caption>Public Methods</caption>
491         <tr>
492             <th class="sig-header" colspan="2">Method</th>            
493             <th class="msource-header">Defined By</th>
494
495         </tr>
496         
497         
498         
499          
500         
501         
502           
503           <tr class="method-row config-row-alt0 notInherited">
504             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
505            
506            
507             <td class="sig">
508                 <a id="Roo-method-Fx"   name=".Fx"></a>
509                 <div class="fixedFont">
510                         <span class="attributes">new <B>Roo.</B></span><b class="itemname">Fx</b>
511                                 
512                                  () 
513                         
514                                 
515                         
516                 </div>
517                 <div class="mdesc">
518                 
519                  
520                         <div class="short">Create a new Roo.Fx</div> 
521                  
522                  
523                     <div class="long">
524                         
525                         
526                         
527                                 Create a new Roo.Fx
528                         
529                         
530                         
531                         
532                         
533                         
534                         
535                         
536
537                     
538                     
539                      
540                     </div>                    
541                 </div>
542
543             </td>
544             <td class="msource">
545                 &nbsp;
546             </td>
547         </tr>
548         
549           
550           <tr class="method-row config-row-alt1 expandable notInherited">
551             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
552            
553            
554             <td class="sig">
555                 <a id="Roo.Fx-method-fadeIn"   name=".fadeIn"></a>
556                 <div class="fixedFont">
557                         <span class="attributes">Roo.Fx.</span><b class="itemname">fadeIn</b>
558                                 
559                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
560                         
561                                 
562                                          : 
563                                         
564                                                 
565                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
566                                         
567                                         
568                                         
569                                 
570                         
571                 </div>
572                 <div class="mdesc">
573                 
574                    <div class="short">Fade an element in (from transparent to opaque).</div> 
575                  
576                  
577                  
578                     <div class="long">
579                         
580                                 Fade an element in (from transparent to opaque).  The ending opacity can be specified<br/>using the "endOpacity" config option.<br/>Usage:<br/><pre><code><br/>// default: fade in from opacity 0 to 100%<br/>el.fadeIn();<br/><br/>// custom: fade in from opacity 0 to 75% over 2 seconds<br/>el.fadeIn({ endOpacity: .75, duration: 2});<br/><br/>// common config options shown with default values<br/>el.fadeIn({<br/>    endOpacity: 1, //can be any value between 0 and 1 (e.g. .5)<br/>    easing: 'easeOut',<br/>    duration: .5<br/>});<br/></code></pre>
581                     
582                                 
583                         
584                         
585                         
586                         
587                                 <dl class="detailList">
588                                 <dt class="heading">Parameters:</dt>
589                                 
590                                         <dt>
591                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
592                                                 
593                                         </dt>
594                                         <dd>(optional) Object literal with any of the Fx config options</dd>
595                                 
596                                 </dl>
597                         
598                         
599                         
600                         
601                         
602                                 <dl class="detailList">
603                                 <dt class="heading">Returns:</dt>
604                                 
605                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
606                                 
607                                 </dl>
608                         
609                         
610                         
611
612                     
613                     
614                      
615                     </div>                    
616                 </div>
617
618             </td>
619             <td class="msource">
620                 
621                         Roo.Fx
622                 &nbsp;
623             </td>
624         </tr>
625         
626           
627           <tr class="method-row config-row-alt0 expandable notInherited">
628             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
629            
630            
631             <td class="sig">
632                 <a id="Roo.Fx-method-fadeOut"   name=".fadeOut"></a>
633                 <div class="fixedFont">
634                         <span class="attributes">Roo.Fx.</span><b class="itemname">fadeOut</b>
635                                 
636                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
637                         
638                                 
639                                          : 
640                                         
641                                                 
642                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
643                                         
644                                         
645                                         
646                                 
647                         
648                 </div>
649                 <div class="mdesc">
650                 
651                    <div class="short">Fade an element out (from opaque to transparent).</div> 
652                  
653                  
654                  
655                     <div class="long">
656                         
657                                 Fade an element out (from opaque to transparent).  The ending opacity can be specified<br/>using the "endOpacity" config option.<br/>Usage:<br/><pre><code><br/>// default: fade out from the element's current opacity to 0<br/>el.fadeOut();<br/><br/>// custom: fade out from the element's current opacity to 25% over 2 seconds<br/>el.fadeOut({ endOpacity: .25, duration: 2});<br/><br/>// common config options shown with default values<br/>el.fadeOut({<br/>    endOpacity: 0, //can be any value between 0 and 1 (e.g. .5)<br/>    easing: 'easeOut',<br/>    duration: .5<br/>    remove: false,<br/>    useDisplay: false<br/>});<br/></code></pre>
658                     
659                                 
660                         
661                         
662                         
663                         
664                                 <dl class="detailList">
665                                 <dt class="heading">Parameters:</dt>
666                                 
667                                         <dt>
668                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
669                                                 
670                                         </dt>
671                                         <dd>(optional) Object literal with any of the Fx config options</dd>
672                                 
673                                 </dl>
674                         
675                         
676                         
677                         
678                         
679                                 <dl class="detailList">
680                                 <dt class="heading">Returns:</dt>
681                                 
682                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
683                                 
684                                 </dl>
685                         
686                         
687                         
688
689                     
690                     
691                      
692                     </div>                    
693                 </div>
694
695             </td>
696             <td class="msource">
697                 
698                         Roo.Fx
699                 &nbsp;
700             </td>
701         </tr>
702         
703           
704           <tr class="method-row config-row-alt1 expandable notInherited">
705             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
706            
707            
708             <td class="sig">
709                 <a id="Roo.Fx-method-frame"   name=".frame"></a>
710                 <div class="fixedFont">
711                         <span class="attributes">Roo.Fx.</span><b class="itemname">frame</b>
712                                 
713                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>color</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>count</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
714                         
715                                 
716                                          : 
717                                         
718                                                 
719                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
720                                         
721                                         
722                                         
723                                 
724                         
725                 </div>
726                 <div class="mdesc">
727                 
728                    <div class="short">Shows a ripple of exploding, attenuating borders to draw attention to an Element.</div> 
729                  
730                  
731                  
732                     <div class="long">
733                         
734                                 Shows a ripple of exploding, attenuating borders to draw attention to an Element.<br/>Usage:<br/><pre><code><br/>// default: a single light blue ripple<br/>el.frame();<br/><br/>// custom: 3 red ripples lasting 3 seconds total<br/>el.frame("ff0000", 3, { duration: 3 });<br/><br/>// common config options shown with default values<br/>el.frame("C3DAF9", 1, {<br/>    duration: 1 //duration of entire animation (not each individual ripple)<br/>    // Note: Easing is not configurable and will be ignored if included<br/>});<br/></code></pre>
735                     
736                                 
737                         
738                         
739                         
740                         
741                                 <dl class="detailList">
742                                 <dt class="heading">Parameters:</dt>
743                                 
744                                         <dt>
745                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>color</b>
746                                                 
747                                         </dt>
748                                         <dd>(optional) The color of the border.  Should be a 6 char hex color without the leading # (defaults to light blue: 'C3DAF9').</dd>
749                                 
750                                         <dt>
751                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>count</b>
752                                                 
753                                         </dt>
754                                         <dd>(optional) The number of ripples to display (defaults to 1)</dd>
755                                 
756                                         <dt>
757                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
758                                                 
759                                         </dt>
760                                         <dd>(optional) Object literal with any of the Fx config options</dd>
761                                 
762                                 </dl>
763                         
764                         
765                         
766                         
767                         
768                                 <dl class="detailList">
769                                 <dt class="heading">Returns:</dt>
770                                 
771                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
772                                 
773                                 </dl>
774                         
775                         
776                         
777
778                     
779                     
780                      
781                     </div>                    
782                 </div>
783
784             </td>
785             <td class="msource">
786                 
787                         Roo.Fx
788                 &nbsp;
789             </td>
790         </tr>
791         
792           
793           <tr class="method-row config-row-alt0 expandable notInherited">
794             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
795            
796            
797             <td class="sig">
798                 <a id="Roo.Fx-method-ghost"   name=".ghost"></a>
799                 <div class="fixedFont">
800                         <span class="attributes">Roo.Fx.</span><b class="itemname">ghost</b>
801                                 
802                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>anchor</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
803                         
804                                 
805                                          : 
806                                         
807                                                 
808                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
809                                         
810                                         
811                                         
812                                 
813                         
814                 </div>
815                 <div class="mdesc">
816                 
817                    <div class="short">Slides the element while fading it out of view.</div> 
818                  
819                  
820                  
821                     <div class="long">
822                         
823                                 Slides the element while fading it out of view.  An anchor point can be optionally passed to set the <br/>ending point of the effect.<br/>Usage:<br/><pre><code><br/>// default: slide the element downward while fading out<br/>el.ghost();<br/><br/>// custom: slide the element out to the right with a 2-second duration<br/>el.ghost('r', { duration: 2 });<br/><br/>// common config options shown with default values<br/>el.ghost('b', {<br/>    easing: 'easeOut',<br/>    duration: .5<br/>    remove: false,<br/>    useDisplay: false<br/>});<br/></code></pre>
824                     
825                                 
826                         
827                         
828                         
829                         
830                                 <dl class="detailList">
831                                 <dt class="heading">Parameters:</dt>
832                                 
833                                         <dt>
834                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>anchor</b>
835                                                 
836                                         </dt>
837                                         <dd>(optional) One of the valid Fx anchor positions (defaults to bottom: 'b')</dd>
838                                 
839                                         <dt>
840                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
841                                                 
842                                         </dt>
843                                         <dd>(optional) Object literal with any of the Fx config options</dd>
844                                 
845                                 </dl>
846                         
847                         
848                         
849                         
850                         
851                                 <dl class="detailList">
852                                 <dt class="heading">Returns:</dt>
853                                 
854                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
855                                 
856                                 </dl>
857                         
858                         
859                         
860
861                     
862                     
863                      
864                     </div>                    
865                 </div>
866
867             </td>
868             <td class="msource">
869                 
870                         Roo.Fx
871                 &nbsp;
872             </td>
873         </tr>
874         
875           
876           <tr class="method-row config-row-alt1 expandable notInherited">
877             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
878            
879            
880             <td class="sig">
881                 <a id="Roo.Fx-method-hasActiveFx"   name=".hasActiveFx"></a>
882                 <div class="fixedFont">
883                         <span class="attributes">Roo.Fx.</span><b class="itemname">hasActiveFx</b>
884                                 
885                                  () 
886                         
887                                 
888                                          : 
889                                         
890                                                 
891                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
892                                         
893                                         
894                                         
895                                 
896                         
897                 </div>
898                 <div class="mdesc">
899                 
900                    <div class="short">Returns true if the element has any effects actively running or queued, else returns false.</div> 
901                  
902                  
903                  
904                     <div class="long">
905                         
906                                 Returns true if the element has any effects actively running or queued, else returns false.
907                     
908                                 
909                         
910                         
911                         
912                         
913                         
914                         
915                         
916                         
917                                 <dl class="detailList">
918                                 <dt class="heading">Returns:</dt>
919                                 
920                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  True if element has active effects, else false</dd>
921                                 
922                                 </dl>
923                         
924                         
925                         
926
927                     
928                     
929                      
930                     </div>                    
931                 </div>
932
933             </td>
934             <td class="msource">
935                 
936                         Roo.Fx
937                 &nbsp;
938             </td>
939         </tr>
940         
941           
942           <tr class="method-row config-row-alt0 expandable notInherited">
943             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
944            
945            
946             <td class="sig">
947                 <a id="Roo.Fx-method-hasFxBlock"   name=".hasFxBlock"></a>
948                 <div class="fixedFont">
949                         <span class="attributes">Roo.Fx.</span><b class="itemname">hasFxBlock</b>
950                                 
951                                  () 
952                         
953                                 
954                                          : 
955                                         
956                                                 
957                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
958                                         
959                                         
960                                         
961                                 
962                         
963                 </div>
964                 <div class="mdesc">
965                 
966                    <div class="short">Returns true if the element is currently blocking so that no other effect can be queued<br/>until this effect is finished, else returns false if blocking is not set.</div> 
967                  
968                  
969                  
970                     <div class="long">
971                         
972                                 Returns true if the element is currently blocking so that no other effect can be queued<br/>until this effect is finished, else returns false if blocking is not set.  This is commonly<br/>used to ensure that an effect initiated by a user action runs to completion prior to the<br/>same effect being restarted (e.g., firing only one effect even if the user clicks several times).
973                     
974                                 
975                         
976                         
977                         
978                         
979                         
980                         
981                         
982                         
983                                 <dl class="detailList">
984                                 <dt class="heading">Returns:</dt>
985                                 
986                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  True if blocking, else false</dd>
987                                 
988                                 </dl>
989                         
990                         
991                         
992
993                     
994                     
995                      
996                     </div>                    
997                 </div>
998
999             </td>
1000             <td class="msource">
1001                 
1002                         Roo.Fx
1003                 &nbsp;
1004             </td>
1005         </tr>
1006         
1007           
1008           <tr class="method-row config-row-alt1 expandable notInherited">
1009             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1010            
1011            
1012             <td class="sig">
1013                 <a id="Roo.Fx-method-highlight"   name=".highlight"></a>
1014                 <div class="fixedFont">
1015                         <span class="attributes">Roo.Fx.</span><b class="itemname">highlight</b>
1016                                 
1017                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>color</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1018                         
1019                                 
1020                                          : 
1021                                         
1022                                                 
1023                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1024                                         
1025                                         
1026                                         
1027                                 
1028                         
1029                 </div>
1030                 <div class="mdesc">
1031                 
1032                    <div class="short">Highlights the Element by setting a color (applies to the background-color by default, but can be<br/>changed using the "attr" config option) and then fading back to the original color.</div> 
1033                  
1034                  
1035                  
1036                     <div class="long">
1037                         
1038                                 Highlights the Element by setting a color (applies to the background-color by default, but can be<br/>changed using the "attr" config option) and then fading back to the original color. If no original<br/>color is available, you should provide the "endColor" config option which will be cleared after the animation.<br/>Usage:<br/><pre><code><br/>// default: highlight background to yellow<br/>el.highlight();<br/><br/>// custom: highlight foreground text to blue for 2 seconds<br/>el.highlight("0000ff", { attr: 'color', duration: 2 });<br/><br/>// common config options shown with default values<br/>el.highlight("ffff9c", {<br/>    attr: "background-color", //can be any valid CSS property (attribute) that supports a color value<br/>    endColor: (current color) or "ffffff",<br/>    easing: 'easeIn',<br/>    duration: 1<br/>});<br/></code></pre>
1039                     
1040                                 
1041                         
1042                         
1043                         
1044                         
1045                                 <dl class="detailList">
1046                                 <dt class="heading">Parameters:</dt>
1047                                 
1048                                         <dt>
1049                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>color</b>
1050                                                 
1051                                         </dt>
1052                                         <dd>(optional) The highlight color. Should be a 6 char hex color without the leading # (defaults to yellow: 'ffff9c')</dd>
1053                                 
1054                                         <dt>
1055                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
1056                                                 
1057                                         </dt>
1058                                         <dd>(optional) Object literal with any of the Fx config options</dd>
1059                                 
1060                                 </dl>
1061                         
1062                         
1063                         
1064                         
1065                         
1066                                 <dl class="detailList">
1067                                 <dt class="heading">Returns:</dt>
1068                                 
1069                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
1070                                 
1071                                 </dl>
1072                         
1073                         
1074                         
1075
1076                     
1077                     
1078                      
1079                     </div>                    
1080                 </div>
1081
1082             </td>
1083             <td class="msource">
1084                 
1085                         Roo.Fx
1086                 &nbsp;
1087             </td>
1088         </tr>
1089         
1090           
1091           <tr class="method-row config-row-alt0 expandable notInherited">
1092             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1093            
1094            
1095             <td class="sig">
1096                 <a id="Roo.Fx-method-pause"   name=".pause"></a>
1097                 <div class="fixedFont">
1098                         <span class="attributes">Roo.Fx.</span><b class="itemname">pause</b>
1099                                 
1100                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>seconds</i></B>) 
1101                         
1102                                 
1103                                          : 
1104                                         
1105                                                 
1106                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1107                                         
1108                                         
1109                                         
1110                                 
1111                         
1112                 </div>
1113                 <div class="mdesc">
1114                 
1115                    <div class="short">Creates a pause before any subsequent queued effects begin.</div> 
1116                  
1117                  
1118                  
1119                     <div class="long">
1120                         
1121                                 Creates a pause before any subsequent queued effects begin.  If there are<br/>no effects queued after the pause it will have no effect.<br/>Usage:<br/><pre><code><br/>el.pause(1);<br/></code></pre>
1122                     
1123                                 
1124                         
1125                         
1126                         
1127                         
1128                                 <dl class="detailList">
1129                                 <dt class="heading">Parameters:</dt>
1130                                 
1131                                         <dt>
1132                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>seconds</b>
1133                                                 
1134                                         </dt>
1135                                         <dd>The length of time to pause (in seconds)</dd>
1136                                 
1137                                 </dl>
1138                         
1139                         
1140                         
1141                         
1142                         
1143                                 <dl class="detailList">
1144                                 <dt class="heading">Returns:</dt>
1145                                 
1146                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
1147                                 
1148                                 </dl>
1149                         
1150                         
1151                         
1152
1153                     
1154                     
1155                      
1156                     </div>                    
1157                 </div>
1158
1159             </td>
1160             <td class="msource">
1161                 
1162                         Roo.Fx
1163                 &nbsp;
1164             </td>
1165         </tr>
1166         
1167           
1168           <tr class="method-row config-row-alt1 expandable notInherited">
1169             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1170            
1171            
1172             <td class="sig">
1173                 <a id="Roo.Fx-method-puff"   name=".puff"></a>
1174                 <div class="fixedFont">
1175                         <span class="attributes">Roo.Fx.</span><b class="itemname">puff</b>
1176                                 
1177                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1178                         
1179                                 
1180                                          : 
1181                                         
1182                                                 
1183                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1184                                         
1185                                         
1186                                         
1187                                 
1188                         
1189                 </div>
1190                 <div class="mdesc">
1191                 
1192                    <div class="short">Fades the element out while slowly expanding it in all directions.</div> 
1193                  
1194                  
1195                  
1196                     <div class="long">
1197                         
1198                                 Fades the element out while slowly expanding it in all directions.  When the effect is completed, the <br/>element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. <br/>The element must be removed from the DOM using the 'remove' config option if desired.<br/>Usage:<br/><pre><code><br/>// default<br/>el.puff();<br/><br/>// common config options shown with default values<br/>el.puff({<br/>    easing: 'easeOut',<br/>    duration: .5,<br/>    remove: false,<br/>    useDisplay: false<br/>});<br/></code></pre>
1199                     
1200                                 
1201                         
1202                         
1203                         
1204                         
1205                                 <dl class="detailList">
1206                                 <dt class="heading">Parameters:</dt>
1207                                 
1208                                         <dt>
1209                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
1210                                                 
1211                                         </dt>
1212                                         <dd>(optional) Object literal with any of the Fx config options</dd>
1213                                 
1214                                 </dl>
1215                         
1216                         
1217                         
1218                         
1219                         
1220                                 <dl class="detailList">
1221                                 <dt class="heading">Returns:</dt>
1222                                 
1223                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
1224                                 
1225                                 </dl>
1226                         
1227                         
1228                         
1229
1230                     
1231                     
1232                      
1233                     </div>                    
1234                 </div>
1235
1236             </td>
1237             <td class="msource">
1238                 
1239                         Roo.Fx
1240                 &nbsp;
1241             </td>
1242         </tr>
1243         
1244           
1245           <tr class="method-row config-row-alt0 expandable notInherited">
1246             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1247            
1248            
1249             <td class="sig">
1250                 <a id="Roo.Fx-method-scale"   name=".scale"></a>
1251                 <div class="fixedFont">
1252                         <span class="attributes">Roo.Fx.</span><b class="itemname">scale</b>
1253                                 
1254                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1255                         
1256                                 
1257                                          : 
1258                                         
1259                                                 
1260                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1261                                         
1262                                         
1263                                         
1264                                 
1265                         
1266                 </div>
1267                 <div class="mdesc">
1268                 
1269                    <div class="short">Animates the transition of an element's dimensions from a starting height/width<br/>to an ending height/width.</div> 
1270                  
1271                  
1272                  
1273                     <div class="long">
1274                         
1275                                 Animates the transition of an element's dimensions from a starting height/width<br/>to an ending height/width.<br/>Usage:<br/><pre><code><br/>// change height and width to 100x100 pixels<br/>el.scale(100, 100);<br/><br/>// common config options shown with default values.  The height and width will default to<br/>// the element's existing values if passed as null.<br/>el.scale(<br/>    [element's width],<br/>    [element's height], {<br/>    easing: 'easeOut',<br/>    duration: .35<br/>});<br/></code></pre>
1276                     
1277                                 
1278                         
1279                         
1280                         
1281                         
1282                                 <dl class="detailList">
1283                                 <dt class="heading">Parameters:</dt>
1284                                 
1285                                         <dt>
1286                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>width</b>
1287                                                 
1288                                         </dt>
1289                                         <dd>The new width (pass undefined to keep the original width)</dd>
1290                                 
1291                                         <dt>
1292                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>height</b>
1293                                                 
1294                                         </dt>
1295                                         <dd>The new height (pass undefined to keep the original height)</dd>
1296                                 
1297                                         <dt>
1298                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
1299                                                 
1300                                         </dt>
1301                                         <dd>(optional) Object literal with any of the Fx config options</dd>
1302                                 
1303                                 </dl>
1304                         
1305                         
1306                         
1307                         
1308                         
1309                                 <dl class="detailList">
1310                                 <dt class="heading">Returns:</dt>
1311                                 
1312                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
1313                                 
1314                                 </dl>
1315                         
1316                         
1317                         
1318
1319                     
1320                     
1321                      
1322                     </div>                    
1323                 </div>
1324
1325             </td>
1326             <td class="msource">
1327                 
1328                         Roo.Fx
1329                 &nbsp;
1330             </td>
1331         </tr>
1332         
1333           
1334           <tr class="method-row config-row-alt1 expandable notInherited">
1335             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1336            
1337            
1338             <td class="sig">
1339                 <a id="Roo.Fx-method-sequenceFx"   name=".sequenceFx"></a>
1340                 <div class="fixedFont">
1341                         <span class="attributes">Roo.Fx.</span><b class="itemname">sequenceFx</b>
1342                                 
1343                                  () 
1344                         
1345                                 
1346                                          : 
1347                                         
1348                                                 
1349                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1350                                         
1351                                         
1352                                         
1353                                 
1354                         
1355                 </div>
1356                 <div class="mdesc">
1357                 
1358                    <div class="short">Ensures that all effects queued after sequenceFx is called on the element are<br/>run in sequence.</div> 
1359                  
1360                  
1361                  
1362                     <div class="long">
1363                         
1364                                 Ensures that all effects queued after sequenceFx is called on the element are<br/>run in sequence.  This is the opposite of {<b>link</b> <b>syncFx</b>}.
1365                     
1366                                 
1367                         
1368                         
1369                         
1370                         
1371                         
1372                         
1373                         
1374                         
1375                                 <dl class="detailList">
1376                                 <dt class="heading">Returns:</dt>
1377                                 
1378                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
1379                                 
1380                                 </dl>
1381                         
1382                         
1383                         
1384
1385                     
1386                     
1387                      
1388                     </div>                    
1389                 </div>
1390
1391             </td>
1392             <td class="msource">
1393                 
1394                         Roo.Fx
1395                 &nbsp;
1396             </td>
1397         </tr>
1398         
1399           
1400           <tr class="method-row config-row-alt0 expandable notInherited">
1401             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1402            
1403            
1404             <td class="sig">
1405                 <a id="Roo.Fx-method-shift"   name=".shift"></a>
1406                 <div class="fixedFont">
1407                         <span class="attributes">Roo.Fx.</span><b class="itemname">shift</b>
1408                                 
1409                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1410                         
1411                                 
1412                                          : 
1413                                         
1414                                                 
1415                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1416                                         
1417                                         
1418                                         
1419                                 
1420                         
1421                 </div>
1422                 <div class="mdesc">
1423                 
1424                    <div class="short">Animates the transition of any combination of an element's dimensions, xy position and/or opacity.</div> 
1425                  
1426                  
1427                  
1428                     <div class="long">
1429                         
1430                                 Animates the transition of any combination of an element's dimensions, xy position and/or opacity.<br/>Any of these properties not specified in the config object will not be changed.  This effect <br/>requires that at least one new dimension, position or opacity setting must be passed in on<br/>the config object in order for the function to have any effect.<br/>Usage:<br/><pre><code><br/>// slide the element horizontally to x position 200 while changing the height and opacity<br/>el.shift({ x: 200, height: 50, opacity: .8 });<br/><br/>// common config options shown with default values.<br/>el.shift({<br/>    width: [element's width],<br/>    height: [element's height],<br/>    x: [element's x position],<br/>    y: [element's y position],<br/>    opacity: [element's opacity],<br/>    easing: 'easeOut',<br/>    duration: .35<br/>});<br/></code></pre>
1431                     
1432                                 
1433                         
1434                         
1435                         
1436                         
1437                                 <dl class="detailList">
1438                                 <dt class="heading">Parameters:</dt>
1439                                 
1440                                         <dt>
1441                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
1442                                                 
1443                                         </dt>
1444                                         <dd>Object literal with any of the Fx config options</dd>
1445                                 
1446                                 </dl>
1447                         
1448                         
1449                         
1450                         
1451                         
1452                                 <dl class="detailList">
1453                                 <dt class="heading">Returns:</dt>
1454                                 
1455                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
1456                                 
1457                                 </dl>
1458                         
1459                         
1460                         
1461
1462                     
1463                     
1464                      
1465                     </div>                    
1466                 </div>
1467
1468             </td>
1469             <td class="msource">
1470                 
1471                         Roo.Fx
1472                 &nbsp;
1473             </td>
1474         </tr>
1475         
1476           
1477           <tr class="method-row config-row-alt1 expandable notInherited">
1478             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1479            
1480            
1481             <td class="sig">
1482                 <a id="Roo.Fx-method-slideIn"   name=".slideIn"></a>
1483                 <div class="fixedFont">
1484                         <span class="attributes">Roo.Fx.</span><b class="itemname">slideIn</b>
1485                                 
1486                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>anchor</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1487                         
1488                                 
1489                                          : 
1490                                         
1491                                                 
1492                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1493                                         
1494                                         
1495                                         
1496                                 
1497                         
1498                 </div>
1499                 <div class="mdesc">
1500                 
1501                    <div class="short">Slides the element into view.</div> 
1502                  
1503                  
1504                  
1505                     <div class="long">
1506                         
1507                                 Slides the element into view.  An anchor point can be optionally passed to set the point of<br/>origin for the slide effect.  This function automatically handles wrapping the element with<br/>a fixed-size container if needed.  See the Fx class overview for valid anchor point options.<br/>Usage:<br/><pre><code><br/>// default: slide the element in from the top<br/>el.slideIn();<br/><br/>// custom: slide the element in from the right with a 2-second duration<br/>el.slideIn('r', { duration: 2 });<br/><br/>// common config options shown with default values<br/>el.slideIn('t', {<br/>    easing: 'easeOut',<br/>    duration: .5<br/>});<br/></code></pre>
1508                     
1509                                 
1510                         
1511                         
1512                         
1513                         
1514                                 <dl class="detailList">
1515                                 <dt class="heading">Parameters:</dt>
1516                                 
1517                                         <dt>
1518                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>anchor</b>
1519                                                 
1520                                         </dt>
1521                                         <dd>(optional) One of the valid Fx anchor positions (defaults to top: 't')</dd>
1522                                 
1523                                         <dt>
1524                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
1525                                                 
1526                                         </dt>
1527                                         <dd>(optional) Object literal with any of the Fx config options</dd>
1528                                 
1529                                 </dl>
1530                         
1531                         
1532                         
1533                         
1534                         
1535                                 <dl class="detailList">
1536                                 <dt class="heading">Returns:</dt>
1537                                 
1538                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
1539                                 
1540                                 </dl>
1541                         
1542                         
1543                         
1544
1545                     
1546                     
1547                      
1548                     </div>                    
1549                 </div>
1550
1551             </td>
1552             <td class="msource">
1553                 
1554                         Roo.Fx
1555                 &nbsp;
1556             </td>
1557         </tr>
1558         
1559           
1560           <tr class="method-row config-row-alt0 expandable notInherited">
1561             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1562            
1563            
1564             <td class="sig">
1565                 <a id="Roo.Fx-method-slideOut"   name=".slideOut"></a>
1566                 <div class="fixedFont">
1567                         <span class="attributes">Roo.Fx.</span><b class="itemname">slideOut</b>
1568                                 
1569                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>anchor</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1570                         
1571                                 
1572                                          : 
1573                                         
1574                                                 
1575                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1576                                         
1577                                         
1578                                         
1579                                 
1580                         
1581                 </div>
1582                 <div class="mdesc">
1583                 
1584                    <div class="short">Slides the element out of view.</div> 
1585                  
1586                  
1587                  
1588                     <div class="long">
1589                         
1590                                 Slides the element out of view.  An anchor point can be optionally passed to set the end point<br/>for the slide effect.  When the effect is completed, the element will be hidden (visibility = <br/>'hidden') but block elements will still take up space in the document.  The element must be removed<br/>from the DOM using the 'remove' config option if desired.  This function automatically handles <br/>wrapping the element with a fixed-size container if needed.  See the Fx class overview for valid anchor point options.<br/>Usage:<br/><pre><code><br/>// default: slide the element out to the top<br/>el.slideOut();<br/><br/>// custom: slide the element out to the right with a 2-second duration<br/>el.slideOut('r', { duration: 2 });<br/><br/>// common config options shown with default values<br/>el.slideOut('t', {<br/>    easing: 'easeOut',<br/>    duration: .5,<br/>    remove: false,<br/>    useDisplay: false<br/>});<br/></code></pre>
1591                     
1592                                 
1593                         
1594                         
1595                         
1596                         
1597                                 <dl class="detailList">
1598                                 <dt class="heading">Parameters:</dt>
1599                                 
1600                                         <dt>
1601                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>anchor</b>
1602                                                 
1603                                         </dt>
1604                                         <dd>(optional) One of the valid Fx anchor positions (defaults to top: 't')</dd>
1605                                 
1606                                         <dt>
1607                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
1608                                                 
1609                                         </dt>
1610                                         <dd>(optional) Object literal with any of the Fx config options</dd>
1611                                 
1612                                 </dl>
1613                         
1614                         
1615                         
1616                         
1617                         
1618                                 <dl class="detailList">
1619                                 <dt class="heading">Returns:</dt>
1620                                 
1621                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
1622                                 
1623                                 </dl>
1624                         
1625                         
1626                         
1627
1628                     
1629                     
1630                      
1631                     </div>                    
1632                 </div>
1633
1634             </td>
1635             <td class="msource">
1636                 
1637                         Roo.Fx
1638                 &nbsp;
1639             </td>
1640         </tr>
1641         
1642           
1643           <tr class="method-row config-row-alt1 expandable notInherited">
1644             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1645            
1646            
1647             <td class="sig">
1648                 <a id="Roo.Fx-method-stopFx"   name=".stopFx"></a>
1649                 <div class="fixedFont">
1650                         <span class="attributes">Roo.Fx.</span><b class="itemname">stopFx</b>
1651                                 
1652                                  () 
1653                         
1654                                 
1655                                          : 
1656                                         
1657                                                 
1658                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1659                                         
1660                                         
1661                                         
1662                                 
1663                         
1664                 </div>
1665                 <div class="mdesc">
1666                 
1667                    <div class="short">Stops any running effects and clears the element's internal effects queue if it contains<br/>any additional effects that haven't started yet.</div> 
1668                  
1669                  
1670                  
1671                     <div class="long">
1672                         
1673                                 Stops any running effects and clears the element's internal effects queue if it contains<br/>any additional effects that haven't started yet.
1674                     
1675                                 
1676                         
1677                         
1678                         
1679                         
1680                         
1681                         
1682                         
1683                         
1684                                 <dl class="detailList">
1685                                 <dt class="heading">Returns:</dt>
1686                                 
1687                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
1688                                 
1689                                 </dl>
1690                         
1691                         
1692                         
1693
1694                     
1695                     
1696                      
1697                     </div>                    
1698                 </div>
1699
1700             </td>
1701             <td class="msource">
1702                 
1703                         Roo.Fx
1704                 &nbsp;
1705             </td>
1706         </tr>
1707         
1708           
1709           <tr class="method-row config-row-alt0 expandable notInherited">
1710             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1711            
1712            
1713             <td class="sig">
1714                 <a id="Roo.Fx-method-switchOff"   name=".switchOff"></a>
1715                 <div class="fixedFont">
1716                         <span class="attributes">Roo.Fx.</span><b class="itemname">switchOff</b>
1717                                 
1718                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1719                         
1720                                 
1721                                          : 
1722                                         
1723                                                 
1724                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1725                                         
1726                                         
1727                                         
1728                                 
1729                         
1730                 </div>
1731                 <div class="mdesc">
1732                 
1733                    <div class="short">Blinks the element as if it was clicked and then collapses on its center (similar to switching off a television).</div> 
1734                  
1735                  
1736                  
1737                     <div class="long">
1738                         
1739                                 Blinks the element as if it was clicked and then collapses on its center (similar to switching off a television).<br/>When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still <br/>take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired.<br/>Usage:<br/><pre><code><br/>// default<br/>el.switchOff();<br/><br/>// all config options shown with default values<br/>el.switchOff({<br/>    easing: 'easeIn',<br/>    duration: .3,<br/>    remove: false,<br/>    useDisplay: false<br/>});<br/></code></pre>
1740                     
1741                                 
1742                         
1743                         
1744                         
1745                         
1746                                 <dl class="detailList">
1747                                 <dt class="heading">Parameters:</dt>
1748                                 
1749                                         <dt>
1750                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
1751                                                 
1752                                         </dt>
1753                                         <dd>(optional) Object literal with any of the Fx config options</dd>
1754                                 
1755                                 </dl>
1756                         
1757                         
1758                         
1759                         
1760                         
1761                                 <dl class="detailList">
1762                                 <dt class="heading">Returns:</dt>
1763                                 
1764                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
1765                                 
1766                                 </dl>
1767                         
1768                         
1769                         
1770
1771                     
1772                     
1773                      
1774                     </div>                    
1775                 </div>
1776
1777             </td>
1778             <td class="msource">
1779                 
1780                         Roo.Fx
1781                 &nbsp;
1782             </td>
1783         </tr>
1784         
1785           
1786           <tr class="method-row config-row-alt1 expandable notInherited">
1787             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1788            
1789            
1790             <td class="sig">
1791                 <a id="Roo.Fx-method-syncFx"   name=".syncFx"></a>
1792                 <div class="fixedFont">
1793                         <span class="attributes">Roo.Fx.</span><b class="itemname">syncFx</b>
1794                                 
1795                                  () 
1796                         
1797                                 
1798                                          : 
1799                                         
1800                                                 
1801                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1802                                         
1803                                         
1804                                         
1805                                 
1806                         
1807                 </div>
1808                 <div class="mdesc">
1809                 
1810                    <div class="short">Ensures that all effects queued after syncFx is called on the element are<br/>run concurrently.</div> 
1811                  
1812                  
1813                  
1814                     <div class="long">
1815                         
1816                                 Ensures that all effects queued after syncFx is called on the element are<br/>run concurrently.  This is the opposite of {<b>link</b> <b>sequenceFx</b>}.
1817                     
1818                                 
1819                         
1820                         
1821                         
1822                         
1823                         
1824                         
1825                         
1826                         
1827                                 <dl class="detailList">
1828                                 <dt class="heading">Returns:</dt>
1829                                 
1830                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The Element</dd>
1831                                 
1832                                 </dl>
1833                         
1834                         
1835                         
1836
1837                     
1838                     
1839                      
1840                     </div>                    
1841                 </div>
1842
1843             </td>
1844             <td class="msource">
1845                 
1846                         Roo.Fx
1847                 &nbsp;
1848             </td>
1849         </tr>
1850         
1851                                                        
1852     </table>
1853
1854   
1855   <!-- ============================== events summary / details ======================== -->
1856   
1857   
1858   <a id="Roo.Fx-events"></a>
1859     
1860   
1861         
1862    
1863     
1864      <table cellspacing="0" class="member-table">
1865       <caption class="Empty">Events - Has None</caption>
1866      </table>
1867     
1868     
1869   
1870     
1871     
1872   
1873   
1874   
1875  
1876 <!-- ============================== footer ================================= -->
1877                 <div class="fineprint" style="clear:both">
1878                         
1879                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:06 GMT+0800 (HKT)
1880                         Based on 
1881                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
1882                 </div>
1883         </body>
1884 </html>