mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
fix docs for carousel markup
This commit is contained in:
parent
139a077543
commit
04fd01d4b6
Binary file not shown.
@ -1304,10 +1304,12 @@ $('#myCollapsible').on('hidden', function () {
|
||||
<h3>Markup</h3>
|
||||
<p>Data attributes are integral to the carousel plugin. Check out the example code below for the various markup types.</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<div class="carousel">
|
||||
<div id="myCarousel" class="carousel">
|
||||
<!-- Carousel items -->
|
||||
<div class="carousel-inner">
|
||||
...
|
||||
<div class="active item">…</div>
|
||||
<div class="item">…</div>
|
||||
<div class="item">…</div>
|
||||
</div>
|
||||
<!-- Carousel nav -->
|
||||
<a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
|
||||
|
6
docs/templates/pages/javascript.mustache
vendored
6
docs/templates/pages/javascript.mustache
vendored
@ -1228,10 +1228,12 @@ $('#myCollapsible').on('hidden', function () {
|
||||
<h3>{{_i}}Markup{{/i}}</h3>
|
||||
<p>{{_i}}Data attributes are integral to the carousel plugin. Check out the example code below for the various markup types.{{/i}}</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<div class="carousel">
|
||||
<div id="myCarousel" class="carousel">
|
||||
<!-- {{_i}}Carousel items{{/i}} -->
|
||||
<div class="carousel-inner">
|
||||
...
|
||||
<div class="active item">…</div>
|
||||
<div class="item">…</div>
|
||||
<div class="item">…</div>
|
||||
</div>
|
||||
<!-- {{_i}}Carousel nav{{/i}} -->
|
||||
<a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user