]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix data-pause documentation for carousel (#21938)
authorGifford Nowland <hi@giffordnowland.com>
Wed, 22 Mar 2017 22:02:56 +0000 (15:02 -0700)
committerJohann <johann.servoire@gmail.com>
Wed, 22 Mar 2017 22:02:56 +0000 (23:02 +0100)
fix data-pause documentation for carousel

docs/components/carousel.md

index 24a42a617a88179119578fec319ebc6fc55e3542..5649dfac9a65aca1c2efa5f287d99930c09d2def 100644 (file)
@@ -208,9 +208,9 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
    </tr>
    <tr>
      <td>pause</td>
-     <td>string | null</td>
+     <td>string | boolean</td>
      <td>"hover"</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>
+     <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>false</code>, hovering over the carousel won't pause it.</td>
    </tr>
    <tr>
      <td>ride</td>