j-Swiper
- O raparigo para Livros da Swiper.js
Configuração:
- Número de
slidesperview {Number}dos itens em uma faixa (default:1) spacebetween {Number}um espaço entre itens (default:0)navigation {Boolean}mostra / escondida armadilhas de navegação (default:false)pagination {Boolean}Show/Hide Pagination Bullets (default:false)autoplay {Boolean}permite autoplay (default:false)delay {Number}um atraso entre as mudanças de faixas, trabalhando apenas com autoplay (default:2500)loop {Boolean}Infinity loop através dos slides (default:false)- NEW
reset {Number}tempo idle após o qual o swiper retorna e volta à primeira imagem (entrar em minutos) - NEW
freemode {Boolean}movimentos sem alinhamento fixo para os slides individuais (default:false)
Use-o com <ui-component name="swiper">Quando o componente ainda não está carregado, jComponent Descarrega-o no primeiro uso do endereço DEF.fallback (a partir do Componentator CDN por padrão). autor: Dodo Marton. fonte: o Componentator Reserva de componentes, licença MIT.
<div style="margin-bottom:30px">
<ui-component name="swiper" path="datasource" config="slidesperview:3;spacebetween:30;pagination:1;navigation:1" class="hidden invisible">
<script type="text/html">
<div style="background-color:#E0E0E0;height:150px;color:#000">{{ name }}</div>
</script>
</ui-component>
</div>
<div>
<ui-component name="swiper" config="slidesperview:3;autoplay:1" class="hidden invisible">
<figure class="swiper-slide"><div style="background-color:#E0E0E0;height:150px;color:#000">A</div></figure>
<figure class="swiper-slide"><div style="background-color:#E0E0E0;height:150px;color:#000">B</div></figure>
<figure class="swiper-slide"><div style="background-color:#E0E0E0;height:150px;color:#000">C</div></figure>
<figure class="swiper-slide"><div style="background-color:#E0E0E0;height:150px;color:#000">D</div></figure>
<figure class="swiper-slide"><div style="background-color:#E0E0E0;height:150px;color:#000">E</div></figure>
<figure class="swiper-slide"><div style="background-color:#E0E0E0;height:150px;color:#000">F</div></figure>
</ui-component>
</div>
<script>
var datasource = [{ name: 'A' }, { name: 'B' }, { name: 'C' }, { name: 'D' }, { name: 'E' }, { name: 'F' }, { name: 'G' }, { name: 'H' }, { name: 'I' }, { name: 'J' }]
</script>