Download the PHP package phpnt/yii2-metismenu without Composer
On this page you can find all versions of the php package phpnt/yii2-metismenu. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download phpnt/yii2-metismenu
More information about phpnt/yii2-metismenu
Files in phpnt/yii2-metismenu
Download phpnt/yii2-metismenu
More information about phpnt/yii2-metismenu
Files in phpnt/yii2-metismenu
Please rate this library. Is it a good library?
Informations about the package yii2-metismenu
phpNT - metisMenu
Описание:
Плагин поможет сделать меню в боковой колонке сайта, настраиваются выпадающие списки подпунктов и их направление, подходит для Bootstrap вёрстки.
DEMO
- Поддержать phpNT
Социальные сети:
Установка:
или
или добавить в composer.json файл
Представление:
<div class="col-md-4">
<div class="sidebar-nav">
<?= Menu::widget([
'items' => [
['label' => 'Элемент 1',
'url' => ['services/index'],
'options'=>['class'=>'dropdown active'],
'template' => '<a href="{url}" class="has-arrow">{label}</a>',
'items' => [
['label' => 'Ссылка 1', 'url' => ['#']],
['label' => 'Ссылка 2', 'url' => ['#']],
]
],
['label' => 'Элемент 2',
'url' => ['services/index'],
'options'=>['class'=>'dropdown'],
'template' => '<a href="{url}" class="has-arrow">{label}</a>',
'items' => [
['label' => 'Ссылка 1', 'url' => ['#']],
['label' => 'Ссылка 2', 'url' => ['#']],
]
],
['label' => 'Элемент 3',
'url' => ['services/index'],
'options'=>['class'=>'dropdown'],
'template' => '<a href="{url}" class="has-arrow">{label}</a>',
'items' => [
['label' => 'Ссылка 1', 'url' => ['#']],
['label' => 'Ссылка 2', 'url' => ['#']],
]
],
],
'options' => [
'id'=>'side-menu',
'class' => 'metismenu',
],
'activeCssClass'=>'active',
'firstItemCssClass'=>'fist',
'lastItemCssClass' =>'last',
]); ?>
</div>
</div>
------------
# Документация (примеры):
## [metisMenu](https://github.com/onokumus/metisMenu)
------------
### Версия:
### 0.0.1
------------
### Лицензия:
### [MIT](https://ru.wikipedia.org/wiki/%D0%9B%D0%B8%D1%86%D0%B5%D0%BD%D0%B7%D0%B8%D1%8F_MIT)
------------
All versions of yii2-metismenu with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
yiisoft/yii2 Version *
phpnt/animate-css Version *
bower-asset/metismenu Version *
yiisoft/yii2 Version *
phpnt/animate-css Version *
bower-asset/metismenu Version *
The package phpnt/yii2-metismenu contains the following files
Loading the files please wait ....