|
|
|
@ -14,44 +14,255 @@
|
|
|
|
|
|
|
|
|
|
<p>Based on <a href="https://getbootstrap.com/docs/4.1/content/images/" target="_blank"> Bootstrap Carousel</a>.</p>
|
|
|
|
|
|
|
|
|
|
<h4># Carousel Examples</h4>
|
|
|
|
|
<h4>Slides only</h4>
|
|
|
|
|
|
|
|
|
|
<div class="demo-with-code">
|
|
|
|
|
<div class="demo-area">
|
|
|
|
|
|
|
|
|
|
<abp-carousel indicators="false" controls="false">
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3EFirst slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3ESecond slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb714 text %7B fill%3A%23333%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb714"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23555"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"276.9749984741211" y%3D"218.3"%3EThird slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
</abp-carousel>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="code-area">
|
|
|
|
|
<abp-tabs>
|
|
|
|
|
<abp-tab title="Tag Helper">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<abp-carousel indicators="false" controls="false">
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
</abp-carousel>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
<abp-tab title="Rendered">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel">
|
|
|
|
|
<div class="carousel-inner">
|
|
|
|
|
<div class="carousel-item active">
|
|
|
|
|
<img class="d-block w-100" src="..." alt="First slide">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="carousel-item">
|
|
|
|
|
<img class="d-block w-100" src="..." alt="Second slide">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="carousel-item">
|
|
|
|
|
<img class="d-block w-100" src="..." alt="Third slide">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
</abp-tabs>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4>With controls</h4>
|
|
|
|
|
|
|
|
|
|
<div class="demo-with-code">
|
|
|
|
|
<div class="demo-area">
|
|
|
|
|
|
|
|
|
|
<abp-carousel indicators="false">
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3EFirst slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3ESecond slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb714 text %7B fill%3A%23333%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb714"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23555"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"276.9749984741211" y%3D"218.3"%3EThird slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
</abp-carousel>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="code-area">
|
|
|
|
|
<abp-tabs>
|
|
|
|
|
<abp-tab title="Tag Helper">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<abp-carousel indicators="false">
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
</abp-carousel>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
<abp-tab title="Rendered">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
|
|
|
|
|
<div class="carousel-inner">
|
|
|
|
|
<div class="carousel-item active">
|
|
|
|
|
<img class="d-block w-100" src=".../800x400?auto=yes&bg=777&fg=555&text=First slide" alt="First slide">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="carousel-item">
|
|
|
|
|
<img class="d-block w-100" src=".../800x400?auto=yes&bg=666&fg=444&text=Second slide" alt="Second slide">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="carousel-item">
|
|
|
|
|
<img class="d-block w-100" src=".../800x400?auto=yes&bg=555&fg=333&text=Third slide" alt="Third slide">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
|
|
|
|
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
|
|
|
<span class="sr-only">Previous</span>
|
|
|
|
|
</a>
|
|
|
|
|
<a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
|
|
|
|
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
|
|
|
<span class="sr-only">Next</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
</abp-tabs>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4>With indicators</h4>
|
|
|
|
|
|
|
|
|
|
<div class="demo-with-code">
|
|
|
|
|
<div class="demo-area">
|
|
|
|
|
|
|
|
|
|
<abp-carousel>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3EFirst slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3ESecond slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb714 text %7B fill%3A%23333%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb714"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23555"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"276.9749984741211" y%3D"218.3"%3EThird slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
</abp-carousel>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="code-area">
|
|
|
|
|
<abp-tabs>
|
|
|
|
|
<abp-tab title="Tag Helper">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<abp-carousel>
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
</abp-carousel>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
<abp-tab title="Rendered">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
|
|
|
|
|
<ol class="carousel-indicators">
|
|
|
|
|
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
|
|
|
|
|
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
|
|
|
|
|
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
|
|
|
|
|
</ol>
|
|
|
|
|
<div class="carousel-inner">
|
|
|
|
|
<div class="carousel-item active">
|
|
|
|
|
<img class="d-block w-100" src=".../800x400?auto=yes&bg=777&fg=555&text=First slide" alt="First slide">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="carousel-item">
|
|
|
|
|
<img class="d-block w-100" src=".../800x400?auto=yes&bg=666&fg=444&text=Second slide" alt="Second slide">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="carousel-item">
|
|
|
|
|
<img class="d-block w-100" src=".../800x400?auto=yes&bg=555&fg=333&text=Third slide" alt="Third slide">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
|
|
|
|
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
|
|
|
<span class="sr-only">Previous</span>
|
|
|
|
|
</a>
|
|
|
|
|
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
|
|
|
|
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
|
|
|
<span class="sr-only">Next</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
</abp-tabs>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4>With captions</h4>
|
|
|
|
|
|
|
|
|
|
<div class="demo-with-code">
|
|
|
|
|
<div class="demo-area">
|
|
|
|
|
|
|
|
|
|
<abp-carousel>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3EFirst slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" alt="Carousel Item 1" caption="Caption" caption-title="title"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3ESecond slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" alt="Carousel Item 2" caption="Caption2" caption-title="title2"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb714 text %7B fill%3A%23333%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb714"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23555"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"276.9749984741211" y%3D"218.3"%3EThird slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" alt="Carousel Item 3" caption="Caption3" caption-title="title3"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item caption-title="Second slide label" caption="Lorem ipsum dolor sit amet, consectetur adipiscing elit." src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3EFirst slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
</abp-carousel>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="code-area">
|
|
|
|
|
<pre>
|
|
|
|
|
<abp-tabs>
|
|
|
|
|
<abp-tab title="Tag Helper">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<abp-carousel>
|
|
|
|
|
<abp-carousel-item src="..." alt="Carousel Item 1" caption="Caption" caption-title="title"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..." alt="Carousel Item 2" caption="Caption2" caption-title="title2"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..." alt="Carousel Item 3" caption="Caption3" caption-title="title3"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item caption-title="Second slide label" caption="Lorem ipsum dolor sit amet, consectetur adipiscing elit." src="..."></abp-carousel-item>
|
|
|
|
|
</abp-carousel>
|
|
|
|
|
</pre>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
<abp-tab title="Rendered">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
|
|
|
|
|
<ol class="carousel-indicators">
|
|
|
|
|
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
|
|
|
|
|
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
|
|
|
|
|
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
|
|
|
|
|
</ol>
|
|
|
|
|
<div class="carousel-inner">
|
|
|
|
|
<div class="carousel-item active">
|
|
|
|
|
<img class="d-block w-100" src=".../800x400?auto=yes&bg=777&fg=555&text=First slide" alt="First slide">
|
|
|
|
|
<div class="carousel-caption d-none d-md-block">
|
|
|
|
|
<h5>Second slide label</h5>
|
|
|
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
|
|
|
|
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
|
|
|
<span class="sr-only">Previous</span>
|
|
|
|
|
</a>
|
|
|
|
|
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
|
|
|
|
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
|
|
|
<span class="sr-only">Next</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
</abp-tabs>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4># Carousel Examples</h4>
|
|
|
|
|
|
|
|
|
|
<h4>Crossfade</h4>
|
|
|
|
|
|
|
|
|
|
<div class="demo-with-code">
|
|
|
|
|
<div class="demo-area">
|
|
|
|
|
<abp-carousel controls="true" indicators="false" crossfade="true">
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3EFirst slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" alt="Carousel Item 1"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3ESecond slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" alt="Carousel Item 2" caption="Caption2" caption-title="title2"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb714 text %7B fill%3A%23333%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb714"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23555"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"276.9749984741211" y%3D"218.3"%3EThird slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" alt="Carousel Item 3"></abp-carousel-item>
|
|
|
|
|
|
|
|
|
|
<abp-carousel indicators="false" crossfade="true">
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3EFirst slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb712 text %7B fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb712"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23666"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"247.2916717529297" y%3D"218.3"%3ESecond slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="data:image/svg+xml;charset=UTF-8,%3Csvg width%3D"800" height%3D"400" xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 800 400" preserveAspectRatio%3D"none"%3E%3Cdefs%3E%3Cstyle type%3D"text%2Fcss"%3E%23holder_16343cfb714 text %7B fill%3A%23333%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C monospace%3Bfont-size%3A40pt %7D %3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg id%3D"holder_16343cfb714"%3E%3Crect width%3D"800" height%3D"400" fill%3D"%23555"%3E%3C%2Frect%3E%3Cg%3E%3Ctext x%3D"276.9749984741211" y%3D"218.3"%3EThird slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"></abp-carousel-item>
|
|
|
|
|
</abp-carousel>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="code-area">
|
|
|
|
|
<pre>
|
|
|
|
|
<abp-carousel controls="true" indicators="false" crossfade="true">
|
|
|
|
|
<abp-carousel-item src="..." alt="Carousel Item 1"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..." alt="Carousel Item 2" caption="Caption2" caption-title="title2"></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..." alt="Carousel Item 3"></abp-carousel-item>
|
|
|
|
|
<abp-tabs>
|
|
|
|
|
<abp-tab title="Tag Helper">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<abp-carousel indicators="false" crossfade="true">
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
<abp-carousel-item src="..."></abp-carousel-item>
|
|
|
|
|
</abp-carousel>
|
|
|
|
|
</pre>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
<abp-tab title="Rendered">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<div id="carouselExampleFade" class="carousel slide carousel-fade" data-ride="carousel">
|
|
|
|
|
<div class="carousel-inner">
|
|
|
|
|
<div class="carousel-item active">
|
|
|
|
|
<img class="d-block w-100" src="..." alt="First slide">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="carousel-item">
|
|
|
|
|
<img class="d-block w-100" src="...e" alt="Second slide">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="carousel-item">
|
|
|
|
|
<img class="d-block w-100" src="..." alt="Third slide">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<a class="carousel-control-prev" href="#carouselExampleFade" role="button" data-slide="prev">
|
|
|
|
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
|
|
|
<span class="sr-only">Previous</span>
|
|
|
|
|
</a>
|
|
|
|
|
<a class="carousel-control-next" href="#carouselExampleFade" role="button" data-slide="next">
|
|
|
|
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
|
|
|
<span class="sr-only">Next</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
</abp-tabs>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|