Vanilla slider inspired by Owl Carousel

Installs: 2 213

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0


1.0 2021-06-10 14:35 UTC

This package is auto-updated.

Last update: 2024-02-18 00:19:19 UTC


php version pkg version license quality build



The preferred way to install this extension is through composer.

Either run

$ composer require dynamikaweb/yii2-tiny-slider "*"

or add

"dynamikaweb/yii2-tiny-slider": "*"

to the require section of your composer.json file.

How to use

use dynamikaweb\tiny\Slider;
use yii\helpers\Html;

<?php Slider::begin([
  'pluginOptions' => [
    'autoplay'          => true,
    'autoplayTimeout'   => 3000,
    'items'             => 1


<?php Slider::end()?>


Property Type Description
export string javascript constant slider name
container string html root tag default: div
containerOptions array html root tag options
pluginOptions array javascript plugin options
clientOptions array alias to pluginOptions
clientScript string\JsExpression javascript custom function or script
example: slider => console.log(slider)
example: console.log(my_export)

dynamika soluções web This project is under BSD-3-Clause license.