carousel: add missing to description and fix nextwhenvisible description (#31809)

This commit is contained in:
Ankit Mishra 2020-10-05 18:19:02 +05:30 committed by GitHub
parent e4be0640ee
commit ce1db01af0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -364,6 +364,10 @@ var carousel = new bootstrap.Carousel(myCarousel, {
</tr>
<tr>
<td><code>nextWhenVisible</code></td>
<td>Don't cycle carousel to next when the page isn't visible or the carousel or its parent isn't visible. <strong>Returns to the caller before the target item has been shown</strong>
</tr>
<tr>
<td><code>to</code></td>
<td>Cycles the carousel to a particular frame (0 based, similar to an array). <strong>Returns to the caller before the target item has been shown</strong> (e.g., before the <code>slid.bs.carousel</code> event occurs).</td>
</tr>
<tr>