PHP code example of dynamikasolucoesweb / laravel-tiny-slider
1. Go to this page and download the library: Download dynamikasolucoesweb/laravel-tiny-slider library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dynamikasolucoesweb / laravel-tiny-slider example snippets
html
<x-tiny-slider
:options="[
'autoplay' => true,
'controls' => false,
'mouseDrag' => true,
'items' => 1
]"
exportName="meuSlider"
clientScript="function(slider) { console.log('Slider ID:', slider.getInfo().container.id); }"
>
@foreach($banners as $banner)
<div class="item">
<a href="{{ $banner->link }}">
<img src="{{ $banner->image_url }}" alt="">
</a>
</div>
@endforeach
</x-tiny-slider>