bootstrap/site/content/docs/5.1/components
Julien Déramond 5d9500bdfd
Handle disabled focused tabs with tab JavaScript plugin (#36169)
* Handle disabled tabs

* Fix after feedback

* Update js/src/tab.js

Co-authored-by: GeoSot <geo.sotis@gmail.com>

* Update js/src/tab.js

Co-authored-by: GeoSot <geo.sotis@gmail.com>

* Commit suggestions via GitHub broke the thing

* Add some unit tests

* Remove temp doc modification

* Add tests for left arrow

* Add disabled tabs in JavaScript Behavior section

* Compact 4 tests to 2 tests

* Compact 4 tests to 2 tests

* Add 'disabled' attribute for all buttons

* Change the disabled pane position only for the vertical version

* Change ids for the confusing first example in JavaScript behavior

* Use disabled attribute instead of the class for buttons in tabs

Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-05-05 19:26:15 -07:00
..
accordion.md Train PR: CSS variables for accordion, cards, navs, and modals (#36071) 2022-03-28 15:05:37 -07:00
alerts.md Docs: update documentation js examples, using es6 (#36203) 2022-04-26 09:38:41 -07:00
badge.md Update badges, cards, and toasts to use new helpers 2022-04-30 12:55:27 -07:00
breadcrumb.md Convert added in badges to shortcode (#36007) 2022-03-12 07:27:58 +02:00
button-group.md Prepare v5.1.0. (#34674) 2021-08-04 18:41:51 +03:00
buttons.md Docs: update documentation js examples, using es6 (#36203) 2022-04-26 09:38:41 -07:00
card.md Update badges, cards, and toasts to use new helpers 2022-04-30 12:55:27 -07:00
carousel.md Docs: update documentation js examples, using es6 (#36203) 2022-04-26 09:38:41 -07:00
close-button.md Prepare v5.1.0. (#34674) 2021-08-04 18:41:51 +03:00
collapse.md Docs: update documentation js examples, using es6 (#36203) 2022-04-26 09:38:41 -07:00
dropdowns.md Doc: remove role="group" from some split drop* buttons 2022-04-30 11:35:44 -07:00
list-group.md Docs: update documentation js examples, using es6 (#36203) 2022-04-26 09:38:41 -07:00
modal.md Docs: update documentation js examples, using es6 (#36203) 2022-04-26 09:38:41 -07:00
navbar.md Fix for missing CSS variables on .navbar-nav (#36105) 2022-04-06 13:08:07 -07:00
navs-tabs.md Handle disabled focused tabs with tab JavaScript plugin (#36169) 2022-05-05 19:26:15 -07:00
offcanvas.md Docs: update documentation js examples, using es6 (#36203) 2022-04-26 09:38:41 -07:00
pagination.md Refactor some docs examples CSS (#36194) 2022-04-19 11:21:43 -07:00
placeholders.md Redesign the "Added in" badges in the docs (#35980) 2022-03-11 21:29:52 +02:00
popovers.md Docs: update documentation js examples, using es6 (#36203) 2022-04-26 09:38:41 -07:00
progress.md Convert progress bars to CSS variables (#35962) 2022-03-18 09:02:03 -07:00
scrollspy.md Docs: update documentation js examples, using es6 (#36203) 2022-04-26 09:38:41 -07:00
spinners.md Convert spinners to CSS variables (#35960) 2022-03-17 13:49:57 -07:00
toasts.md Update badges, cards, and toasts to use new helpers 2022-04-30 12:55:27 -07:00
tooltips.md Docs: update documentation js examples, using es6 (#36203) 2022-04-26 09:38:41 -07:00