faboslav / yii2-material-navbar
There is no license information available for the latest version (dev-master) of this package.
dev-master
2017-01-23 20:53 UTC
This package is not auto-updated.
Last update: 2024-11-21 22:15:47 UTC
README
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require faboslav/yii2-material-navbar "dev-master"
or add
"faboslav/yii2-material-navbar": "dev-master"
to the `
require`
section of your composer.json
file.
Usage
MaterialNavBar
use faboslav\materialnavbar\MaterialNavBar
echo MaterialNavBar::widget([
'items' => [
['label' => 'Page one', 'url' => '#'],
['label' => 'Page two', 'url' => '#', 'isActive' => true],
['label' => 'Page three', 'url' => '#'],
['label' => 'Page four', 'url' => '#'],
['label' => 'Page five', 'url' => '#'],
]
]);
Licence
MIT