skeeks/yii2-mmenu-widget
最新稳定版本:2.0.2
Composer 安装命令:
composer require skeeks/yii2-mmenu-widget
包简介
The yii2-mmenu widget is a Yii 2 wrapper for the [jQuery-mmenu](http://mmenu.frebsite.nl/). A jQuery plugin for creating slick, app look-alike sliding menus for you mobile website with only one line of javascript
README 文档
README
The yii2-mmenu-widget widget is a Yii 2 wrapper for the jQuery-mmenu:
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist wbraganca/yii2-mmenu-widget "*"
or add
"wbraganca/yii2-mmenu-widget": "*"
How to use
On your view file.
<?= \wbraganca\mmenu\Menu::widget([ 'items' => [ [ 'label' => 'Home', 'url' => '#', 'icon' => 'glyphicon glyphicon-home' ], [ 'label' => 'Submenu', 'url' => '', 'icon' => 'glyphicon glyphicon-plus-sign', 'items' => [ [ 'label' => 'link 1', 'url' => '#', 'icon' => 'glyphicon glyphicon-file', ], [ 'label' => 'link 2', 'url' => '#', 'icon' => 'glyphicon glyphicon-file', ], ] ] ] ]) ?>
统计信息
- 总下载量: 1.09k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-07-05