<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # jQuery UI API - .hide() ## 所屬類別 [特效(Effects)](ref-effects.html) | [特效核心(Effects Core)](ref-effects-core.html) | [方法重載(Method Overrides)](ref-overrides.html) | [方法(Methods)](ref-methods.html) ## 用法 **描述:**使用自定義效果來隱藏匹配的元素。 **返回:**[jQuery](//api.jquery.com/Types/#jQuery) ``` .hide( effect [, options ] [, duration ] [, complete ] ) ``` | 參數 | 類型 | 描述 | 默認值 | | --- | --- | --- | --- | | effect | String | 一個字符串,指示要使用哪一種[特效](api-category-effects.html)。 | | options | Object | 特效具體的設置和 [easing](api-easings.html)。 | | duration | Number 或 String | 一個字符串或一個數字,指定動畫將運行多久。 | 400 | | complete | Function() | 一旦動畫完成時要調用的函數。 | ``` .hide( options ) ``` | 參數 | 類型 | 描述 | | --- | --- | --- | | options | Object | 所有的動畫設置。唯一一個必需的屬性是 effect。 * **effect** 類型:String 描述:一個字符串,指示要使用哪一種[特效](api-category-effects.html)。 * **easing**(默認值:`"swing"`) 類型:String 描述:一個字符串,指示要使用的 [easing](api-easings.html) 函數。 * **duration**(默認值:`400`) 類型:Number 或 String 描述:一個字符串或一個數字,指定動畫將運行多久。 * **complete** 類型:Function() 描述:一旦動畫完成時要調用的函數。 * **queue**(默認值:`true`) 類型:Boolean 或 String 描述:一個布爾值,指示是否將動畫放在特效隊列中。如果是 false,動畫將立即開始。**自 jQuery 1.7 起**,queue 選項也接受一個字符串,在這種情況下,動畫添加到由字符串表示的隊列中。 該插件擴展自 jQuery 內置的 [.hide()](/jquery/eff-hide.html) 方法。如果 jQuery UI 未加載,調用 `.hide()` 方法不會直接失敗,因為該方法在 jQuery 中存在。但是不會發生預期的行為。 ## 實例 使用降落特效(Drop Effect)隱藏一個 div。 ``` <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>.hide() 演示</title> <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> <style> div { width: 100px; height: 100px; background: #ccc; border: 1px solid #000; } </style> <script src="//code.jquery.com/jquery-1.10.2.js"></script> <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script> </head> <body> <button>隱藏 div</button> <div></div> <script> $( "button" ).click(function() { $( "div" ).hide( "drop", { direction: "down" }, "slow" ); }); </script> </body> </html> ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看