Download the PHP package alex290/yii2-multinav without Composer
On this page you can find all versions of the php package alex290/yii2-multinav. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-multinav
Yii2 Multilevel Nav hover
Yii2 Multilevel Nav hover
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
echo Nav::widget([
'items' => [
[
'label' => 'Home',
'url' => ['site/index'],
'linkOptions' => [],
],
[
'label' => 'Dropdown',
'items' => [
[
'label' => 'Dropdown',
'items' => [
['label' => 'Level 1 - Dropdown A', 'url' => '#'],
['label' => 'Level 1 - Dropdown B', 'url' => '#'],
],
],
['label' => 'Level 1 - Dropdown A', 'url' => '#'],
['label' => 'Level 1 - Dropdown B', 'url' => '#'],
],
],
],
'options' => [
'class' =>'nav-pills', // set this to nav-tabs to get tab-styled navigation
'backgroundColor' => '#222', // Цвет фона меню
'backgroundColorHover' => '#3d3d3d', // Цвет пункта меню при наведении
'backgroundColorActive' => '#3d3d3d', // Цвет пункта меню активного
'color' => '#fff', // Цвет текста меню
'colorActive' => '#fff', // Цвет текста меню активного
'colorHover' => '#fff', // Цвет текста меню при наведении
],
]);
All versions of yii2-multinav with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
~2.0.0
The package alex290/yii2-multinav contains the following files
Loading the files please wait ....