dmstr/yii2-vue-shufflejs-widget
最新稳定版本:1.0.0
Composer 安装命令:
composer require dmstr/yii2-vue-shufflejs-widget
包简介
Yii2 Widget for Vue.js & VueShuffleJs plugin.
README 文档
README
Yii2 Widget for Vue.js with vue-shufflejs-plugin.
The widget use and require the following packages:
- Vue.js - The Progressive JavaScript Framework
- vue-shufflejs-plugin - A Vue.js plugin for Shuffle.js library
Installation
The preferred way to install this extension is through composer.
Either run
composer require dmstr/yii2-vue-shufflejs-widget:"^0.2"
or add
"dmstr/yii2-vue-shufflejs-widget": "^0.2"
to the require section of your composer.json file.
Usage
The following example renders the vue-shufflejs-plugin with Filter, Search and Sort.
Please check the vue-shufflejs-plugin documentation for available options supported by the plugin.
use dmstr\widgets\vueshufflejs\VueShuffle; <?= VueShuffle::widget( [ 'options' => [ 'settings' => $settings, 'products' => [ 'data' => $data, 'option' => $option, 'filter' => $filter, ] ] ] );?>
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 6.81k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-03-09