亚洲一区二区三区在线播放,伊人久久精品无码av一区,亚洲国产精品一区二区第一页免,无码aⅴ精品一区二区三区浪潮

Collapse

Toggle the visibility of content across your project with a few classes and our JavaScript plugins.

How it works

The collapse JavaScript plugin is used to show and hide content. Buttons or anchors are used as triggers that are mapped to specific elements you toggle. Collapsing an element will animate the height from its current value to 0. Given how CSS handles animations, you cannot use padding on a .collapse element. Instead, use the class as an independent wrapping element.

The animation effect of this component is dependent on the prefers-reduced-motion media query. See the reduced motion section of our accessibility documentation.

Example

Click the buttons below to show and hide another element via class changes:

  • .collapse hides content
  • .collapsing is applied during transitions
  • .collapse.show shows content

Generally, we recommend using a button with the data-bs-target attribute. While not recommended from a semantic point of view, you can also use a link with the href attribute (and a role="button"). In both cases, the data-bs-toggle="collapse" is required.

Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger.
<p>
  <a class="btn btn-primary" data-bs-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
    Link with href
  </a>
  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
    Button with data-bs-target
  </button>
</p>
<div class="collapse" id="collapseExample">
  <div class="card card-body">
    Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger.
  </div>
</div>

Multiple targets

A <button> or <a> can show and hide multiple elements by referencing them with a selector in its href or data-bs-target attribute. Multiple <button> or <a> can show and hide an element if they each reference it with their href or data-bs-target attribute

Some placeholder content for the first collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
Some placeholder content for the second collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
<p>
  <a class="btn btn-primary" data-bs-toggle="collapse" href="#multiCollapseExample1" role="button" aria-expanded="false" aria-controls="multiCollapseExample1">Toggle first element</a>
  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#multiCollapseExample2" aria-expanded="false" aria-controls="multiCollapseExample2">Toggle second element</button>
  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target=".multi-collapse" aria-expanded="false" aria-controls="multiCollapseExample1 multiCollapseExample2">Toggle both elements</button>
</p>
<div class="row">
  <div class="col">
    <div class="collapse multi-collapse" id="multiCollapseExample1">
      <div class="card card-body">
        Some placeholder content for the first collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
      </div>
    </div>
  </div>
  <div class="col">
    <div class="collapse multi-collapse" id="multiCollapseExample2">
      <div class="card card-body">
        Some placeholder content for the second collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
      </div>
    </div>
  </div>
</div>

Accessibility

Be sure to add aria-expanded to the control element. This attribute explicitly conveys the current state of the collapsible element tied to the control to screen readers and similar assistive technologies. If the collapsible element is closed by default, the attribute on the control element should have a value of aria-expanded="false". If you’ve set the collapsible element to be open by default using the show class, set aria-expanded="true" on the control instead. The plugin will automatically toggle this attribute on the control based on whether or not the collapsible element has been opened or closed (via JavaScript, or because the user triggered another control element also tied to the same collapsible element). If the control element’s HTML element is not a button (e.g., an <a> or <div>), the attribute role="button" should be added to the element.

If your control element is targeting a single collapsible element – i.e. the data-bs-target attribute is pointing to an id selector – you should add the aria-controls attribute to the control element, containing the id of the collapsible element. Modern screen readers and similar assistive technologies make use of this attribute to provide users with additional shortcuts to navigate directly to the collapsible element itself.

Note that Bootstrap’s current implementation does not cover the various optional keyboard interactions described in the WAI-ARIA Authoring Practices 1.1 accordion pattern - you will need to include these yourself with custom JavaScript.

Sass

Variables

$transition-collapse:         height .35s ease;

Classes

Collapse transition classes can be found in scss/_transitions.scss as these are shared across multiple components (collapse and accordion).

.collapse {
  &:not(.show) {
    display: none;
  }
}

.collapsing {
  height: 0;
  overflow: hidden;
  @include transition($transition-collapse);
}

Usage

The collapse plugin utilizes a few classes to handle the heavy lifting:

  • .collapse hides the content
  • .collapse.show shows the content
  • .collapsing is added when the transition starts, and removed when it finishes

These classes can be found in _transitions.scss.

Via data attributes

Just add data-bs-toggle="collapse" and a data-bs-target to the element to automatically assign control of one or more collapsible elements. The data-bs-target attribute accepts a CSS selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you’d like it to default open, add the additional class show.

To add accordion-like group management to a collapsible area, add the data attribute data-bs-parent="#selector". Refer to the demo to see this in action.

Via JavaScript

Enable manually with:

var collapseElementList = [].slice.call(document.querySelectorAll('.collapse'))
var collapseList = collapseElementList.map(function (collapseEl) {
  return new bootstrap.Collapse(collapseEl)
})

Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-bs-, as in data-bs-parent="".

Name Type Default Description
parent selector | jQuery object | DOM element false If parent is provided, then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior - this is dependent on the card class). The attribute has to be set on the target collapsible area.
toggle boolean true Toggles the collapsible element on invocation

Methods

Asynchronous methods and transitions

All API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.

See our JavaScript documentation for more information.

Activates your content as a collapsible element. Accepts an optional options object.

You can create a collapse instance with the constructor, for example:

var myCollapse = document.getElementById('myCollapse')
var bsCollapse = new bootstrap.Collapse(myCollapse, {
  toggle: false
})
Method Description
toggle Toggles a collapsible element to shown or hidden. Returns to the caller before the collapsible element has actually been shown or hidden (i.e. before the shown.bs.collapse or hidden.bs.collapse event occurs).
show Shows a collapsible element. Returns to the caller before the collapsible element has actually been shown (e.g., before the shown.bs.collapse event occurs).
hide Hides a collapsible element. Returns to the caller before the collapsible element has actually been hidden (e.g., before the hidden.bs.collapse event occurs).
dispose Destroys an element's collapse. (Removes stored data on the DOM element)
getInstance Static method which allows you to get the collapse instance associated with a DOM element.

Events

Bootstrap’s collapse class exposes a few events for hooking into collapse functionality.

Event type Description
show.bs.collapse This event fires immediately when the show instance method is called.
shown.bs.collapse This event is fired when a collapse element has been made visible to the user (will wait for CSS transitions to complete).
hide.bs.collapse This event is fired immediately when the hide method has been called.
hidden.bs.collapse This event is fired when a collapse element has been hidden from the user (will wait for CSS transitions to complete).
var myCollapsible = document.getElementById('myCollapsible')
myCollapsible.addEventListener('hidden.bs.collapse', function () {
  // do something...
})
返回頂部
亚洲一区二区三区在线播放,伊人久久精品无码av一区,亚洲国产精品一区二区第一页免,无码aⅴ精品一区二区三区浪潮
<span id="fu32q"></span>
    1. <li id="fu32q"><meter id="fu32q"><th id="fu32q"></th></meter></li>
      91免费看视频| 国产99精品在线观看| 久久精品国产秦先生| 精品午夜一区二区三区在线观看 | 日本不卡123| 久久国产生活片100| 风间由美性色一区二区三区 | 国产乱码精品一品二品| 99re在线精品| 国产精品一区二区你懂的| 99久久精品国产导航| 久久99久久精品欧美| 99久久国产免费看| 国产精品一区二区x88av| 日韩精品五月天| 成人综合婷婷国产精品久久蜜臀| 另类的小说在线视频另类成人小视频在线| 成人免费的视频| 激情另类小说区图片区视频区| 99久久精品国产精品久久| 国产精品自拍三区| 老司机一区二区| 日韩综合一区二区| 成人av在线资源网站| 国产乱码字幕精品高清av| 日本美女视频一区二区| 99免费精品视频| 岛国一区二区在线观看| 国产精品一区三区| 国产综合色视频| 麻豆成人免费电影| 日本三级亚洲精品| 日韩高清不卡一区二区| 91视频你懂的| 99精品1区2区| 不卡一区二区在线| 国产91高潮流白浆在线麻豆| 国产一区三区三区| 久久国产人妖系列| 久久se精品一区精品二区| 日韩av一二三| 青青青伊人色综合久久| 日韩精品亚洲一区二区三区免费| 三级欧美在线一区| 日韩电影在线一区二区三区| 91玉足脚交白嫩脚丫在线播放| 成人成人成人在线视频| 99久久久无码国产精品| 99国内精品久久| 日韩电影在线观看电影| 日韩av网站免费在线| 日本怡春院一区二区| 人人精品人人爱| 蜜臀a∨国产成人精品| 美腿丝袜一区二区三区| 国精产品一区一区三区mba桃花| 国产一区二区精品久久| 国产精品亚洲一区二区三区在线 | 蜜桃精品视频在线| 久久精品久久久精品美女| 日韩精品高清不卡| 男人操女人的视频在线观看欧美| 理论片日本一区| 国产精品一区二区在线看| 国产sm精品调教视频网站| 成人黄色在线视频| 日韩激情视频在线观看| 久久成人羞羞网站| 国产成人高清在线| av电影在线观看一区| 91麻豆精品视频| 韩国精品久久久| 成人av资源网站| 久久99国内精品| 成人一区二区三区在线观看| 日韩经典中文字幕一区| 韩日av一区二区| 97精品视频在线观看自产线路二| 麻豆91精品91久久久的内涵| 成+人+亚洲+综合天堂| 蜜桃视频第一区免费观看| 国产成人午夜视频| 青青草原综合久久大伊人精品优势| 精东粉嫩av免费一区二区三区| 成人午夜私人影院| 久久精品国产一区二区三区免费看 | 美国av一区二区| 国产91对白在线观看九色| 日韩高清中文字幕一区| 成人综合在线视频| 黑人巨大精品欧美一区| 日韩精品91亚洲二区在线观看| 国产成人小视频| 激情五月激情综合网| 白白色亚洲国产精品| 国产在线精品一区二区三区不卡| 91亚洲精品久久久蜜桃| 国产高清久久久| 久久精品国产99国产精品| 99久久伊人精品| 国产伦精一区二区三区| 捆绑紧缚一区二区三区视频| jvid福利写真一区二区三区| 国产一区亚洲一区| 久久99精品久久久久久久久久久久 | 麻豆精品视频在线观看| 波波电影院一区二区三区| 韩国v欧美v日本v亚洲v| 日韩高清不卡在线| 91蜜桃在线免费视频| 国产高清不卡二三区| 久久99国产精品麻豆| 日韩精品1区2区3区| 国产69精品久久777的优势| 极品美女销魂一区二区三区免费| 91在线精品秘密一区二区| 国产丶欧美丶日本不卡视频| 免费在线一区观看| 9i在线看片成人免费| 国产精品99久久久久久久vr| 极品尤物av久久免费看| 激情五月婷婷综合| 六月丁香婷婷久久| 麻豆成人免费电影| 日韩制服丝袜av| 99久久精品99国产精品| 成人不卡免费av| 国产成人亚洲综合a∨婷婷 | 国产91精品一区二区| 国产一区二区三区不卡在线观看| 免费人成精品欧美精品| 91免费国产在线| 91色.com| 日本aⅴ精品一区二区三区| 日精品一区二区| 日本中文在线一区| 精品一区二区三区免费| 久久精品国产网站| 国产乱一区二区| 国产激情一区二区三区桃花岛亚洲| 国内欧美视频一区二区| 国内国产精品久久| 国产一区二区免费看| 国产精品1区二区.| 国产成人av资源| 成人毛片视频在线观看| 99久久夜色精品国产网站| 日韩高清不卡在线| 国产一区二区日韩精品| av成人老司机| 日韩国产在线观看| 狠狠色综合色综合网络| 大美女一区二区三区| 日韩激情视频网站| 国产伦精一区二区三区| 91视频www| 国产一区二区三区精品视频| 97精品久久久久中文字幕| 看片的网站亚洲| 高清日韩电视剧大全免费| 视频一区二区三区入口| 久草在线在线精品观看| 成人av在线看| 久久综合综合久久综合| 99精品国产热久久91蜜凸| 日韩电影一区二区三区| 国产精品99久久不卡二区| 91丨九色porny丨蝌蚪| 国内久久精品视频| 石原莉奈在线亚洲二区| 国产suv精品一区二区6| 久久97超碰国产精品超碰| 99国产精品久久久| 极品少妇xxxx精品少妇| 丝袜亚洲精品中文字幕一区| 国产河南妇女毛片精品久久久 | 日本午夜一区二区| 丰满少妇久久久久久久| 久久精品国产在热久久| www.久久精品| 国产精品1区2区| 麻豆成人久久精品二区三区小说| 99精品视频在线播放观看| 国产成人免费在线观看不卡| 日韩av一区二区在线影视| www.亚洲色图.com| 国产精品亚洲人在线观看| 美女视频网站黄色亚洲| 91女厕偷拍女厕偷拍高清| 国产超碰在线一区| 激情五月婷婷综合| 天堂精品中文字幕在线| 国产高清在线精品| 国产一区亚洲一区| 精品一二线国产| 久久国产乱子精品免费女| 天堂一区二区在线免费观看| 97久久超碰国产精品| 成人免费看黄yyy456| 国产成人亚洲精品青草天美| 国产一区二区三区视频在线播放| 麻豆精品久久精品色综合| 日本午夜精品视频在线观看 | 成人视屏免费看| 国产一区日韩二区欧美三区| 免费在线观看视频一区| 久久精品av麻豆的观看方式| 成人网页在线观看| 国产凹凸在线观看一区二区| 国产精品1区2区3区在线观看| 另类小说综合欧美亚洲| 日韩成人午夜电影| 免费观看日韩电影| 奇米在线7777在线精品 | 国产99久久精品| 成人一区二区视频| 国产成人啪午夜精品网站男同| 国产精品夜夜爽| 成人性视频免费网站| 成人精品视频一区二区三区| 99精品欧美一区二区三区小说| 91丝袜国产在线播放| 日韩电影在线观看一区| 久久国产精品区| 国产不卡视频一区二区三区| 懂色av一区二区在线播放| va亚洲va日韩不卡在线观看| 日本美女一区二区三区视频| 精品在线免费观看| 国产成人一级电影| 99久久99久久精品国产片果冻| 91丨porny丨中文| 麻豆视频观看网址久久| 国产一区二区三区综合| 国产成人亚洲综合a∨婷婷| 99热这里都是精品| 日本伊人色综合网| 国产精品99久久久久久有的能看 | 韩国欧美国产一区| 国产成人免费视| 91啪亚洲精品| 国产一区啦啦啦在线观看| 国产69精品久久久久777| 91免费观看视频| 极品少妇一区二区| 播五月开心婷婷综合| 久久国内精品视频| www.久久精品| 国产综合色在线视频区| 91丨porny丨在线| 国产精品亚洲第一区在线暖暖韩国 | 国产二区国产一区在线观看| 91色九色蝌蚪| 国产一区日韩二区欧美三区| 91尤物视频在线观看| 国产一区二区三区在线观看精品| 91麻豆精东视频| 久久国产三级精品| av激情亚洲男人天堂| 韩国理伦片一区二区三区在线播放| 99精品1区2区| 国产精品一二二区| 日产国产高清一区二区三区| 成人在线综合网| 久久精品国产99国产精品| 成人a区在线观看| 国产一区二区三区观看| 免费成人性网站| 成人小视频免费在线观看| 久久97超碰色| 日本强好片久久久久久aaa| 国产99久久久精品| 久久99精品久久只有精品| 91网址在线看| 国产成人综合视频| 日本成人超碰在线观看| 不卡av电影在线播放| 国产一区二区视频在线播放| 97久久精品人人做人人爽| 国产不卡视频在线观看| 久久国产精品露脸对白| 91在线国产观看| 99久久精品国产网站| 东方欧美亚洲色图在线| 极品美女销魂一区二区三区免费| 青青草成人在线观看| 91免费视频大全| 91丨porny丨蝌蚪视频| 97久久超碰国产精品| 成人深夜在线观看| 成人黄色av电影| 成人精品亚洲人成在线| 成人18视频日本| 成人毛片视频在线观看| 波多野结衣中文字幕一区二区三区| 国产99久久久国产精品| 高清国产一区二区三区| 成人av在线电影| fc2成人免费人成在线观看播放| 成人黄页毛片网站| 99久久伊人精品| 日韩电影在线观看电影| 蜜桃一区二区三区四区| 国精产品一区一区三区mba桃花| 国产一区二区三区精品欧美日韩一区二区三区 | 91看片淫黄大片一级| 99精品一区二区| 日韩精品久久久久久| 麻豆精品蜜桃视频网站| 韩国午夜理伦三级不卡影院| 国产乱人伦精品一区二区在线观看| 国产成人av资源| 91在线精品一区二区三区| 不卡欧美aaaaa| 日韩精品每日更新| 毛片基地黄久久久久久天堂| 国产一区91精品张津瑜| 风间由美性色一区二区三区| 91在线观看一区二区| 美女一区二区久久| 国产麻豆一精品一av一免费| 成人午夜视频在线观看| 日韩国产成人精品| 国产在线国偷精品免费看| 成人久久18免费网站麻豆| 肉肉av福利一精品导航| 久久99精品一区二区三区| 国产经典欧美精品| 日韩精品免费专区| 国产精品一区二区无线| 国产成人精品一区二| 99久久国产免费看| 九九热在线视频观看这里只有精品| 国产精品一级片| 日韩高清中文字幕一区| 国产河南妇女毛片精品久久久 | 国产成人亚洲精品青草天美| 91免费看片在线观看| 国产精品综合一区二区| 丝袜脚交一区二区| 国产馆精品极品| 免费欧美在线视频| 成人免费高清在线观看| 久久精品国产一区二区| k8久久久一区二区三区| 国产一区二区在线观看视频| 天堂av在线一区| 成人免费精品视频| 国产麻豆一精品一av一免费 | 男女视频一区二区| 成人午夜在线视频| 国产一区二区视频在线| 奇米色一区二区三区四区| 成人黄色网址在线观看| 黄一区二区三区| 免费观看在线色综合| 97se亚洲国产综合自在线 | 国产精品 日产精品 欧美精品| 美女在线一区二区| 99久久精品免费看国产免费软件| 国产美女在线精品| 蜜桃av一区二区三区| 视频精品一区二区| 99精品偷自拍| 99久久久无码国产精品| 成人国产精品免费观看| 国产成人免费在线观看| 国产精品综合av一区二区国产馆| 久久国产精品72免费观看| 日本欧美一区二区三区乱码| 91色九色蝌蚪| 石原莉奈在线亚洲二区| 91色在线porny| 日韩有码一区二区三区| 99r国产精品| 99久久精品免费观看| 99精品国产99久久久久久白柏 | 91浏览器在线视频| 99久久夜色精品国产网站| 99久久精品免费看国产免费软件| 国产99一区视频免费| 成人蜜臀av电影| 97精品国产97久久久久久久久久久久| 成人av动漫在线| 91啪亚洲精品| 男女男精品视频网| 精品综合免费视频观看| 久久av中文字幕片| 极品少妇xxxx精品少妇| 国产乱码精品一区二区三区忘忧草| 国产乱码精品一区二区三区忘忧草| 国产主播一区二区三区| 国产精品亚洲а∨天堂免在线| 国产精品一级片在线观看| 国产成a人无v码亚洲福利| www.av精品| 免费观看久久久4p| 国产精品自在在线| a在线播放不卡| 日本亚洲三级在线|