|
|
@ -28,13 +28,7 @@ use yii\helpers\Html; |
|
|
|
* [ |
|
|
|
* [ |
|
|
|
* 'label' => 'Dropdown', |
|
|
|
* 'label' => 'Dropdown', |
|
|
|
* 'items' => [ |
|
|
|
* 'items' => [ |
|
|
|
* [ |
|
|
|
* ['label' => 'Level 1 - Dropdown A', 'url' => '#'], |
|
|
|
* 'label' => 'Level 1 -DropdownA', |
|
|
|
|
|
|
|
* 'url' => '#', |
|
|
|
|
|
|
|
* 'items' => [ |
|
|
|
|
|
|
|
* ['label' => 'Level 2 -DropdownA', 'url' => '#'], |
|
|
|
|
|
|
|
* ], |
|
|
|
|
|
|
|
* ], |
|
|
|
|
|
|
|
* '<li class="divider"></li>', |
|
|
|
* '<li class="divider"></li>', |
|
|
|
* '<li class="dropdown-header">Dropdown Header</li>', |
|
|
|
* '<li class="dropdown-header">Dropdown Header</li>', |
|
|
|
* ['label' => 'Level 1 - Dropdown B', 'url' => '#'], |
|
|
|
* ['label' => 'Level 1 - Dropdown B', 'url' => '#'], |
|
|
@ -44,8 +38,13 @@ use yii\helpers\Html; |
|
|
|
* ]); |
|
|
|
* ]); |
|
|
|
* ``` |
|
|
|
* ``` |
|
|
|
* |
|
|
|
* |
|
|
|
* @see http://twitter.github.io/bootstrap/components.html#nav |
|
|
|
* Note: Multilevel dropdowns beyond Level 1 are not supported in Bootstrap 3. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @see http://getbootstrap.com/components.html#dropdowns |
|
|
|
|
|
|
|
* @see http://getbootstrap.com/components/#nav |
|
|
|
|
|
|
|
* |
|
|
|
* @author Antonio Ramirez <amigo.cobos@gmail.com> |
|
|
|
* @author Antonio Ramirez <amigo.cobos@gmail.com> |
|
|
|
|
|
|
|
* @author Kartik Visweswaran <kartikv2@gmail.com> |
|
|
|
* @since 2.0 |
|
|
|
* @since 2.0 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
class Nav extends Widget |
|
|
|
class Nav extends Widget |
|
|
|