]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
v4: Add an actual `data-touch="false"` example in the carousel docs (#32639)
authorPatrick H. Lauke <redux@splintered.co.uk>
Tue, 5 Jan 2021 23:42:55 +0000 (23:42 +0000)
committerGitHub <noreply@github.com>
Tue, 5 Jan 2021 23:42:55 +0000 (23:42 +0000)
commitf1b2ed93dfb5346e32c8b2b58c6f444d6ad24c50
tree0dc360f3ce3a100fffa8040583a896f10b20df13
parent4fc35bdc3c3bfd279d199411080e1063772aa643
v4: Add an actual `data-touch="false"` example in the carousel docs (#32639)

* v4: Add an actual `data-touch="false"` example in the carousel docs

Backport of https://github.com/twbs/bootstrap/pull/32638

* Remove data-ride from example carousel

* Correct attribute table explanation and remove slide class from example

i believe the correct option is `slide` here, not `ride`.
the `if "carousel"` bit was rather unclear/confusing

* Edits...

sorry, trying to make sense of our quirky carousel stuff, it seems some illogical things have been there ever since

* Add data-interval to suppress autoplay

* Tweak carousel options formatting

* Update site/content/docs/4.5/components/carousel.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
* Tweak language

mostly based on @mdo's suggestion, but also adds the word "attribute" after `data-ride` for better flow/legibility

Co-authored-by: Mark Otto <markd.otto@gmail.com>
site/content/docs/4.5/components/carousel.md