You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has originally been reported by @invaderhd at yiisoft/yii2#7499.
Moved here by @cebe.
In a project I use Navbar extensively and I found that it should be more generic, for example:
we should be able to set the the only the classes that we want to use, but it append allwais the navbar class (ie. Html::addCssClass($this->options, 'navbar'); )
it's impossible to remove the toggle button (ie. echo $this->renderToggleButton();). In some layouts we may have the toggle button in a different local.
The Navbar is a great class and works like a charm in the default bootstrap theme, but in custom layouts it is not generic enough to do it job.
Keep the good working guys ;)
The text was updated successfully, but these errors were encountered:
we should be able to set the the only the classes that we want to use, but it append allwais the navbar class (ie. Html::addCssClass($this->options, 'navbar'); )
This is already possible:
'options' => [
'class' => ['widget' => null],
],
it's impossible to remove the toggle button (ie. echo $this->renderToggleButton();). In some layouts we may have the toggle button in a different local.
This issue has originally been reported by @invaderhd at yiisoft/yii2#7499.
Moved here by @cebe.
In a project I use Navbar extensively and I found that it should be more generic, for example:
The Navbar is a great class and works like a charm in the default bootstrap theme, but in custom layouts it is not generic enough to do it job.
Keep the good working guys ;)
The text was updated successfully, but these errors were encountered: