mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-18 03:11:19 +02:00
fix docs for carousel markup
This commit is contained in:
Binary file not shown.
@@ -1304,10 +1304,12 @@ $('#myCollapsible').on('hidden', function () {
|
|||||||
<h3>Markup</h3>
|
<h3>Markup</h3>
|
||||||
<p>Data attributes are integral to the carousel plugin. Check out the example code below for the various markup types.</p>
|
<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">
|
<pre class="prettyprint linenums">
|
||||||
<div class="carousel">
|
<div id="myCarousel" class="carousel">
|
||||||
<!-- Carousel items -->
|
<!-- Carousel items -->
|
||||||
<div class="carousel-inner">
|
<div class="carousel-inner">
|
||||||
...
|
<div class="active item">…</div>
|
||||||
|
<div class="item">…</div>
|
||||||
|
<div class="item">…</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Carousel nav -->
|
<!-- Carousel nav -->
|
||||||
<a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
|
<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>
|
<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>
|
<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">
|
<pre class="prettyprint linenums">
|
||||||
<div class="carousel">
|
<div id="myCarousel" class="carousel">
|
||||||
<!-- {{_i}}Carousel items{{/i}} -->
|
<!-- {{_i}}Carousel items{{/i}} -->
|
||||||
<div class="carousel-inner">
|
<div class="carousel-inner">
|
||||||
...
|
<div class="active item">…</div>
|
||||||
|
<div class="item">…</div>
|
||||||
|
<div class="item">…</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- {{_i}}Carousel nav{{/i}} -->
|
<!-- {{_i}}Carousel nav{{/i}} -->
|
||||||
<a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
|
<a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
|
||||||
|
Reference in New Issue
Block a user