]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Port #19410 to v4
authorPvanhesteren <pavanhesteren@gmail.com>
Sun, 17 Jul 2016 07:17:18 +0000 (00:17 -0700)
committerChris Rebert <code@chrisrebert.com>
Sun, 17 Jul 2016 07:17:30 +0000 (00:17 -0700)
Clarify valid values of Carousel's `pause` option

Fixes #18205

[skip sauce]

docs/components/carousel.md

index 76278281e5f7e181528abb64250554415115e1ea..5f177432f0f3c28f18b8a32121f19fb98dae97b6 100644 (file)
@@ -158,9 +158,9 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
      </tr>
      <tr>
        <td>pause</td>
-       <td>string</td>
+       <td>string | null</td>
        <td>"hover"</td>
-       <td>Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.</td>
+       <td>If set to <code>"hover"</code>, pauses the cycling of the carousel on <code>mouseenter</code> and resumes the cycling of the carousel on <code>mouseleave</code>. If set to <code>null</code>, hovering over the carousel won't pause it.</td>
      </tr>
      <tr>
        <td>wrap</td>