Skip to content

Commit

Permalink
Update carousel.md
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Jan 3, 2019
1 parent 002e472 commit e344006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/docs/4.2/components/carousel.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ Add `data-interval=""` to a `.carousel-item` to change the amount of time to del

Use data attributes to easily control the position of the carousel. `data-slide` accepts the keywords `prev` or `next`, which alters the slide position relative to its current position. Alternatively, use `data-slide-to` to pass a raw slide index to the carousel `data-slide-to="2"`, which shifts the slide position to a particular index beginning with `0`.

The `data-ride="carousel"` attribute is used to mark a carousel as animating starting at page load, if you don't use `data-ride="carousel"` to init your carousel you have to init it by yourself. **It cannot be used in combination with (redundant and unnecessary) explicit JavaScript initialization of the same carousel.**
The `data-ride="carousel"` attribute is used to mark a carousel as animating starting at page load. if you don't use `data-ride="carousel"` to initialize your carousel, you have to initialize it yourself. **It cannot be used in combination with (redundant and unnecessary) explicit JavaScript initialization of the same carousel.**

### Via JavaScript

Expand Down

1 comment on commit e344006

@josmaissan
Copy link
Contributor

Choose a reason for hiding this comment

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

After the point you have to start with a capital...
So ... page load. if you ... has to be ... page load. If you ...

Please sign in to comment.