https://github.com/twbs/bootstrap
Revision 0444d2cfe53390d6eaf86e8a6f6976309bb0ad25 authored by Patrick H. Lauke on 29 November 2022, 07:20:35 UTC, committed by GitHub on 29 November 2022, 07:20:35 UTC
* Instantiate/initialize all non-autoplaying carousels in docs pages * Rewrite/reorganise carousel docs page * start with static/non-autoplaying examples * explicitly mention that carousels currently need to be manually initialized * split out and explain autoplaying and the weird "autoplay after first interaction" behaviour, as well as the pause on hover/focus * Add callout about autoplaying and accessibility * Don't have the dark variant example autoplay * Add "autoplaying" to cspell custom dictionary * Tweal wording, move Page Visibility API to autoplay section * Tweak explanation for methods, add line break in js code for consistency with last code block on the page * Tweak method descriptions * Tweak headings (plural "carousels") * Move some paragraphs out of intro and into basic example, reword the nested and accessibility paragraph * Tweak warning about `.active` slide * Tweak callout wording * Further prose tweaks move the sentence about not double-initialising autoplaying carousels to the callout right at the top instead of talking about `data-bs...` attributes, talk about the "option" instead, as authors may be setting these not via data attributes, but at instatiation time with options in the constructor remove the incorrect statement about pausing when keyboard focus is in the carousel * Instantiate/initialize all non-autoplaying carousels in docs pages * Rewrite/reorganise carousel docs page * start with static/non-autoplaying examples * explicitly mention that carousels currently need to be manually initialized * split out and explain autoplaying and the weird "autoplay after first interaction" behaviour, as well as the pause on hover/focus * Add callout about autoplaying and accessibility * Don't have the dark variant example autoplay * Add "autoplaying" to cspell custom dictionary * Tweal wording, move Page Visibility API to autoplay section * Tweak explanation for methods, add line break in js code for consistency with last code block on the page * Tweak method descriptions * Tweak headings (plural "carousels") * Move some paragraphs out of intro and into basic example, reword the nested and accessibility paragraph * Tweak warning about `.active` slide * Tweak callout wording * Further prose tweaks move the sentence about not double-initialising autoplaying carousels to the callout right at the top instead of talking about `data-bs...` attributes, talk about the "option" instead, as authors may be setting these not via data attributes, but at instatiation time with options in the constructor remove the incorrect statement about pausing when keyboard focus is in the carousel * Fix relative link * Update site/assets/js/snippets.js Co-authored-by: GeoSot <geo.sotis@gmail.com> * Fix snippet.js * Tweak content organisation just a bit Co-authored-by: GeoSot <geo.sotis@gmail.com> Co-authored-by: Julien Déramond <juderamond@gmail.com> Co-authored-by: Julien Déramond <julien.deramond@orange.com> Co-authored-by: Mark Otto <markdotto@gmail.com>
1 parent 26a3ef1
Tip revision: 0444d2cfe53390d6eaf86e8a6f6976309bb0ad25 authored by Patrick H. Lauke on 29 November 2022, 07:20:35 UTC
Docs: rewrite/reorganise carousel docs page (#37354)
Docs: rewrite/reorganise carousel docs page (#37354)
Tip revision: 0444d2c
File | Mode | Size |
---|---|---|
.github | ||
build | ||
dist | ||
js | ||
nuget | ||
scss | ||
site | ||
.babelrc.js | -rw-r--r-- | 162 bytes |
.browserslistrc | -rw-r--r-- | 175 bytes |
.bundlewatch.config.json | -rw-r--r-- | 1.3 KB |
.cspell.json | -rw-r--r-- | 2.0 KB |
.editorconfig | -rw-r--r-- | 167 bytes |
.eslintignore | -rw-r--r-- | 111 bytes |
.eslintrc.json | -rw-r--r-- | 1.3 KB |
.gitattributes | -rw-r--r-- | 177 bytes |
.gitignore | -rw-r--r-- | 442 bytes |
.stylelintignore | -rw-r--r-- | 55 bytes |
.stylelintrc | -rw-r--r-- | 637 bytes |
CODE_OF_CONDUCT.md | -rw-r--r-- | 5.4 KB |
LICENSE | -rw-r--r-- | 1.1 KB |
README.md | -rw-r--r-- | 13.3 KB |
SECURITY.md | -rw-r--r-- | 471 bytes |
composer.json | -rw-r--r-- | 667 bytes |
config.yml | -rw-r--r-- | 3.6 KB |
package-lock.json | -rw-r--r-- | 698.9 KB |
package.js | -rw-r--r-- | 484 bytes |
package.json | -rw-r--r-- | 9.1 KB |
Computing file changes ...