定制 dynamikaweb/yii2-tiny-slider 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dynamikaweb/yii2-tiny-slider

最新稳定版本:1.0

Composer 安装命令:

composer require dynamikaweb/yii2-tiny-slider

包简介

Vanilla slider inspired by Owl Carousel

README 文档

README

php version pkg version license quality build

Documentation

Installation

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

<?PHP
use dynamikaweb\tiny\Slider;
use yii\helpers\Html;
?>

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

<?=Html::img('foo.png')?>
<?=Html::img('bar.png')?>
<?=Html::img('zee.png')?>

<?php Slider::end()?>

Configuration

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.

统计信息

  • 总下载量: 3.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2021-06-09