diff --git a/extensions/bootstrap/Nav.php b/extensions/bootstrap/Nav.php index c0ea2d8..50c85bb 100644 --- a/extensions/bootstrap/Nav.php +++ b/extensions/bootstrap/Nav.php @@ -13,8 +13,8 @@ use yii\helpers\ArrayHelper; use yii\helpers\Html; /** - * Nav renders a nav HTML component. - * + * Nav renders a nav HTML component. + * * For example: * * ```php @@ -28,24 +28,23 @@ use yii\helpers\Html; * [ * 'label' => 'Dropdown', * 'items' => [ - * [ - * 'label' => 'Level 1 -DropdownA', - * 'url' => '#', - * 'items' => [ - * ['label' => 'Level 2 -DropdownA', 'url' => '#'], - * ], - * ], + * ['label' => 'Level 1 - Dropdown A', 'url' => '#'], * '
  • ', * '', - * ['label' => 'Level 1 -DropdownB', 'url' => '#'], + * ['label' => 'Level 1 - Dropdown B', 'url' => '#'], * ], * ], * ], * ]); * ``` - * - * @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 + * @author Kartik Visweswaran * @since 2.0 */ class Nav extends Widget