mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-10 05:14:42 +00:00
fix docs for carousel markup
This commit is contained in:
parent
139a077543
commit
04fd01d4b6
3 changed files with 8 additions and 4 deletions
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>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue