Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from Oct 5, 2020

Conversation

cankitm
Copy link
Contributor

@cankitm cankitm commented Oct 1, 2020

Added the to method and corrected nextWhenVisible description in Corousel Component documentation.

Fixes #31788

@XhmikosR XhmikosR changed the title docs-Update corousel doc : nextwhenvisible and to carousel: add missing to description and fix nextwhenvisible description Oct 1, 2020
@XhmikosR XhmikosR added this to Inbox in v5.0.0-alpha3 via automation Oct 1, 2020
@XhmikosR
Copy link
Member

XhmikosR commented Oct 1, 2020

BTW this is duplicate of #31800

@XhmikosR XhmikosR removed this from Inbox in v5.0.0-alpha3 Oct 1, 2020
@cankitm
Copy link
Contributor Author

cankitm commented Oct 1, 2020

BTW this is duplicate of #31800

#31800 was showing several unwanted changes, so opened a new PR, specifically related to the issue.

@@ -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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mdo or @patrickhlauke for word proofing. I feel like a "the" is missing?

@XhmikosR
Copy link
Member

XhmikosR commented Oct 5, 2020

@Johann-S does this need a backport or is the option present only in v5?

@XhmikosR XhmikosR added this to Inbox in v5.0.0-alpha3 via automation Oct 5, 2020
@Johann-S
Copy link
Member

Johann-S commented Oct 5, 2020

yep we should backport this in v4 too 👍

@XhmikosR
Copy link
Member

XhmikosR commented Oct 5, 2020

I don't see the option at all in v4-dev docs, so I guess we'll need to manually backport it. I'll add it to the 4.5.3 project but any patch to backport it is welcome.

@XhmikosR XhmikosR added this to Inbox in v4.5.3 via automation Oct 5, 2020
@XhmikosR XhmikosR merged commit ce1db01 into twbs:main Oct 5, 2020
v5.0.0-alpha3 automation moved this from Inbox to Shipped Oct 5, 2020
@XhmikosR XhmikosR moved this from Inbox to Needs manual backport in v4.5.3 Oct 5, 2020
@cankitm
Copy link
Contributor Author

cankitm commented Oct 7, 2020

I don't see the option at all in v4-dev docs, so I guess we'll need to manually backport it. I'll add it to the 4.5.3 project but any patch to backport it is welcome.

Manual Backport : #31851

@XhmikosR XhmikosR mentioned this pull request Oct 8, 2020
XhmikosR pushed a commit that referenced this pull request Oct 9, 2020
carousel: add missing `to` and `nextwhenvisible` description
@XhmikosR XhmikosR removed this from Needs manual backport in v4.5.3 Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v5.0.0-alpha3
  
Shipped
Development

Successfully merging this pull request may close these issues.

Confusion on the "nextWhenVisible()" method on Carousel Component
4 participants