PageRenderTime 60ms CodeModel.GetById 32ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/html/api/core/node/slideDown.html

https://github.com/YuhangGe/kissyteam.github.com
HTML | 240 lines | 199 code | 22 blank | 19 comment | 0 complexity | 0ad029a824b17a28ac242e1b28ca449e MD5 | raw file
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8"/>
  5. <title>slideDown &mdash; KISSY Docs valpha documentation</title>
  6. <link rel="stylesheet" href="../../../static/reset.css"/>
  7. <link rel="stylesheet" href="../../../static/kissy.css"/>
  8. <link rel="stylesheet" href="../../../static/pygments.css"/>
  9. <link rel="shortcut icon" href="../../../static/favicon.ico"/>
  10. <link href='http://fonts.googleapis.com/css?family=Philosopher' rel='stylesheet' type='text/css'>
  11. <script>
  12. var DOCUMENTATION_OPTIONS = {
  13. URL_ROOT: '../../../',
  14. VERSION: 'alpha',
  15. COLLAPSE_INDEX: false,
  16. FILE_SUFFIX: '.html',
  17. HAS_SOURCE: true
  18. };
  19. if(window.location.href.indexOf("localhost/kissy_git/")!=-1){
  20. document.write('<script src="http://localhost/kissy_git/kissy/build/kissy.js"'+'><'+'/script>');
  21. } else{
  22. document.write('<script src="http://yiminghe.github.com/kissy/build/kissy.js"'+'>'+'<'+'/script>');
  23. }
  24. </script>
  25. <script type="text/javascript" src="../../../static/jquery.js"></script>
  26. <script type="text/javascript" src="../../../static/underscore.js"></script>
  27. <script type="text/javascript" src="../../../static/doctools.js"></script>
  28. </head>
  29. <body><div id="header">
  30. <h1 class="logo"><a alt="KISSY" href="http://docs.kissyui.com"><img src="../../../static/logo.png"/></a></h1>
  31. <p class="desc">小巧灵活简洁实用愉悦编码快乐开发</p>
  32. <ul class="navigation">
  33. <li><a href="../../../../html/quickstart/index.html">快速上手</a></li>
  34. <li><a href="../../../../html/api/index.html">API</a></li>
  35. <li><a href="../../../../html/demo/index.html">DEMO</a></li>
  36. <li><a href="http://blog.kissyui.com/">博客</a></li>
  37. <!--<li><a href="mailto:all@kissyui.com">论坛</a></li>-->
  38. <li><a href="http://www.github.com/kissyteam">源码</a></li>
  39. </ul>
  40. <div id="searchbox" style="display: none" class="searchbox">
  41. <form class="search" action="../../../search.html" method="get">
  42. <input type="text" name="q" size="28" class="ipt"/>
  43. <input type="submit" value="Go" class="btn"/>
  44. <input type="hidden" name="check_keywords" value="yes" />
  45. <input type="hidden" name="area" value="default" />
  46. </form>
  47. </div>
  48. <script type="text/javascript">$('#searchbox').show(0);</script>
  49. </div>
  50. <div id="content">
  51. <div class="layout grid-s6m0">
  52. <div class="col-main">
  53. <div class="main-wrap">
  54. <div class='related'>
  55. <h3>Navigation</h3>
  56. <ul>
  57. <li class="right" style="margin-right: 10px">
  58. <a href="../../../genindex.html" title="General Index"
  59. accesskey="I">index</a></li>
  60. <li class="right" >
  61. <a href="../../../py-modindex.html" title="Python Module Index"
  62. >modules</a> | </li>
  63. <li class="right" >
  64. <a href="slideUp.html" title="slideUp"
  65. accesskey="N">next</a> | </li>
  66. <li class="right" >
  67. <a href="fadeOut.html" title="fadeOut"
  68. accesskey="P">previous</a> | </li>
  69. <li><a href="../../../index.html">KISSY Docs</a> &#187; </li>
  70. <li><a href="../../index.html" >API文档</a> &#187; </li>
  71. <li><a href="../index.html" >Core</a> &#187; </li>
  72. <li><a href="index.html" accesskey="U">Node</a> &#187; </li>
  73. </ul>
  74. </div>
  75. <div class="section" id="slidedown">
  76. <h1>slideDown<a class="headerlink" href="#slidedown" title="Permalink to this headline"></a></h1>
  77. <div class="section" id="module">
  78. <h2>Module<a class="headerlink" href="#module" title="Permalink to this headline"></a></h2>
  79. <blockquote>
  80. <div><a class="reference internal" href="index.html#module-Node" title="Node"><tt class="xref py py-mod docutils literal"><span class="pre">Node</span></tt></a></div></blockquote>
  81. </div>
  82. <div class="section" id="methods">
  83. <h2>Methods<a class="headerlink" href="#methods" title="Permalink to this headline"></a></h2>
  84. <dl class="method">
  85. <dt id="Node.NodeList.slideDown">
  86. <tt class="descclassname">NodeList.</tt><tt class="descname">slideDown</tt><big>(</big><big>)</big><a class="headerlink" href="#Node.NodeList.slideDown" title="Permalink to this definition"></a></dt>
  87. <dd><div class="line-block">
  88. <div class="line">NodeList <strong>slideDown</strong> ( [ speed = 1, callback ] )</div>
  89. <div class="line">当前节点列表元素从上到下滑动显示</div>
  90. </div>
  91. <table class="docutils field-list" frame="void" rules="none">
  92. <col class="field-name" />
  93. <col class="field-body" />
  94. <tbody valign="top">
  95. <tr class="field"><th class="field-name" colspan="2">Parameters:</th></tr>
  96. <tr><td>&nbsp;</td><td class="field-body"><ul class="first simple">
  97. <li><strong>speed</strong> (<em>number</em>) &#8211; 单位秒, 动画持续时间, 不设置无动画</li>
  98. <li><strong>callback</strong> (<em>function</em>) &#8211; 每个动画结束后回调函数</li>
  99. </ul>
  100. </td>
  101. </tr>
  102. <tr class="field"><th class="field-name" colspan="2">Return type:</th></tr>
  103. <tr><td>&nbsp;</td><td class="field-body"><p class="first last">NodeList</p>
  104. </td>
  105. </tr>
  106. </tbody>
  107. </table>
  108. <div class="admonition note">
  109. <p class="first admonition-title">Note</p>
  110. <p class="last">注意回调 callback 在每个元素动画结束后都会回调, this 值指向当前单个元素所属的动画对象.</p>
  111. </div>
  112. </dd></dl>
  113. </div>
  114. </div>
  115. <div>
  116. <label>
  117. 评论
  118. <select id='openComment'>
  119. <option value='1'>打开</option>
  120. <option value='0'>关闭</option>
  121. </select>
  122. </label>
  123. <script>
  124. if(!window.localStorage){
  125. KISSY.one("#openComment").attr("disabled",true);
  126. }else{
  127. KISSY.one("#openComment").val(window.localStorage.getItem("kissy-commment")||"1");
  128. KISSY.one("#openComment").on("change",function(){
  129. window.localStorage.setItem("kissy-commment",KISSY.one("#openComment").val());
  130. window.location.reload();
  131. });
  132. }
  133. </script>
  134. </div>
  135. <div id="disqus_thread"></div>
  136. <script>
  137. if((window.location.hostname.indexOf("kissyui.com")!=-1 )&& window.localStorage.getItem("kissy-commment")!="0"){
  138. /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
  139. var disqus_shortname = 'kissy-docs'; // required: replace example with your forum shortname
  140. // The following are highly recommended additional parameters. Remove the slashes in front to use.
  141. //var disqus_identifier = '/anim';
  142. //var disqus_url = window.location;
  143. /* * * DON'T EDIT BELOW THIS LINE * * */
  144. (function() {
  145. var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
  146. dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
  147. (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  148. })();
  149. }
  150. </script>
  151. <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
  152. <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
  153. <!--<div id="google-search-box">
  154. <div id="cse" style="width: 100%;">Loading</div>
  155. <script>
  156. if(window.location.hostname.indexOf("kissyui.com")!=-1){
  157. document.write('<script src="http://www.google.com/jsapi" type="text/javascript"><'+'/script>');
  158. }
  159. </script>
  160. <script>
  161. if(window.location.hostname.indexOf("kissyui.com")!=-1){
  162. google.load('search', '1', {language : 'zh-CN', style : google.loader.themes.MINIMALIST});
  163. google.setOnLoadCallback(function() {
  164. var customSearchControl = new google.search.CustomSearchControl('012347804910294994683:n4uzb24gqdm');
  165. customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
  166. customSearchControl.draw('cse');
  167. }, true);
  168. }
  169. </script>
  170. </div>-->
  171. </div>
  172. </div>
  173. <div class="col-sub"><ul class="s-box api-toctree">
  174. <h2 class="s-box-hd">Seed</h2>
  175. <ul class="s-box-bd">
  176. <li><a href="../../seed/loader/index.html">Loader</a></li>
  177. <li><a href="../../seed/kissy/index.html">kissy</a></li>
  178. <li><a href="../../seed/lang/index.html">lang</a></li>
  179. <li><a href="../../seed/web/index.html">web</a></li>
  180. </ul>
  181. </ul>
  182. <ul class="s-box core-toctree">
  183. <h2 class="s-box-hd">Core</h2>
  184. <ul class="s-box-bd">
  185. <li><a href="../ua/index.html">ua</a></li>
  186. <li><a href="../dom/index.html">DOM</a></li>
  187. <li><a href="../event/index.html">event</a></li>
  188. <li><a href="index.html">node</a></li>
  189. <li><a href="../json/index.html">json</a></li>
  190. <li><a href="../ajax/index.html">ajax</a></li>
  191. <li><a href="../cookie/index.html">cookie</a></li>
  192. <li><a href="../base/index.html">base</a></li>
  193. <li><a href="../anim/index.html">anim</a></li>
  194. </ul>
  195. </ul>
  196. <ul class="s-box component-toctree">
  197. <h2 class="s-box-hd">Component</h2>
  198. <ul class="s-box-bd">
  199. <li><a href="https://github.com/jquery/sizzle/wiki/Sizzle-Home">sizzle</a></li>
  200. <li><a href="../../component/template/index.html">template</a></li>
  201. <li><a href="../../component/datalazyload/index.html">datalazyload</a></li>
  202. <li><a href="../../component/flash/index.html">flash</a></li>
  203. <li><a href="../../component/dd/index.html">dd</a></li>
  204. <li><a href="../../component/switchable/index.html">switchable</a></li>
  205. <li><a href="../../component/suggest/index.html">suggest</a></li>
  206. <li><a href="../../component/calendar/index.html">calendar</a></li>
  207. <li><a href="../../component/imagezoom/index.html">imagezoom</a></li>
  208. <li><a href="../../component/overlay/index.html">overlay</a></li>
  209. </ul>
  210. </ul>
  211. </div>
  212. </div>
  213. </div>
  214. <div id="footer">
  215. &copy; Copyright 2010~2011, KISSY Team. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>
  216. </div>
  217. </body>
  218. </html>