samdark/yii2-iconized-menu-widget
Composer 安装命令:
composer require samdark/yii2-iconized-menu-widget
包简介
IconizedMenu automatically adds favicons in front of menu links
README 文档
README
Allows you to create a menu with the corresponding favicon on the left of each item.
Installation
Add the following to require section of your composer.json:
"samdark/yii2-iconized-menu-widget": "*"
Then do composer install.
Usage
use samdark\iconizedMenu; echo Menu::widget([ 'items' => [ ['label' => 'Yii Framework', 'url' => 'http://yiiframework.com/'], ['label' => 'RMCreative', 'url' => 'http://rmcreative.ru/', 'items' => [ ['label' => 'Yii Framework Russia', 'url' => 'http://yiiframework.ru/'], ]], ['label' => 'Twitter', 'url' => 'http://twitter.com/'], ], ]);
统计信息
- 总下载量: 211
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2014-01-09