bootstrap/js/tests/unit
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
..
dom Manipulator: Add JSON parse support (#35077) 2022-04-21 21:41:43 +03:00
util Manipulator: Add JSON parse support (#35077) 2022-04-21 21:41:43 +03:00
.eslintrc.json Move a few ESLint rules where they are needed. 2021-08-30 15:51:44 +03:00
alert.spec.js tests: revisit all tests using Promise.reject instead of throwing an error (#35765) 2022-02-19 16:08:16 +02:00
base-component.spec.js tests: remove extra spaces, unneeded arrays and add missing newlines 2021-12-01 14:30:49 +02:00
button.spec.js tests: tweak Jasmine's matchers usage 2021-12-01 14:30:49 +02:00
carousel.spec.js Carousel: Fix not used option (`ride`), simplify `cycle` method (#35983) 2022-04-21 22:42:17 +03:00
collapse.spec.js tests: revisit all tests using Promise.reject instead of throwing an error (#35765) 2022-02-19 16:08:16 +02:00
dropdown.spec.js No propagating escape event in an open dropdown. 2022-03-19 01:43:43 +02:00
jquery.spec.js tests: replace 'done' callback with 'Promise' to fix deprecation errors (#35659) 2022-01-30 14:30:04 +02:00
modal.spec.js Modal: refactor listeners to reduce some code noise (#35902) 2022-03-01 17:08:12 +02:00
offcanvas.spec.js v5.2.0 design refresh, plus responsive offcanvas classes (#35736) 2022-04-17 22:17:50 -07:00
popover.spec.js Make event name helper and use it on tooltip & popover to reduce dist sizes (#35856) 2022-02-19 15:10:47 +02:00
scrollspy.spec.js Revamp Scrollspy using Intersection observer (#33421) 2022-04-13 10:29:13 -07:00
tab.spec.js Handle disabled focused tabs with tab JavaScript plugin (#36169) 2022-05-05 19:26:15 -07:00
toast.spec.js tests: revisit all tests using Promise.reject instead of throwing an error (#35765) 2022-02-19 16:08:16 +02:00
tooltip.spec.js Manipulator: Add JSON parse support (#35077) 2022-04-21 21:41:43 +03:00