Browse Source

Merge pull request #1291 from kartik-v/patch-3

Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
22439d3378
  1. 14
      extensions/bootstrap/Nav.php

14
extensions/bootstrap/Nav.php

@ -28,13 +28,7 @@ use yii\helpers\Html;
* [
* 'label' => 'Dropdown',
* 'items' => [
* [
* 'label' => 'Level 1 -DropdownA',
* 'url' => '#',
* 'items' => [
* ['label' => 'Level 2 -DropdownA', 'url' => '#'],
* ],
* ],
* ['label' => 'Level 1 - Dropdown A', 'url' => '#'],
* '<li class="divider"></li>',
* '<li class="dropdown-header">Dropdown Header</li>',
* ['label' => 'Level 1 - Dropdown B', 'url' => '#'],
@ -44,7 +38,11 @@ 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>
* @since 2.0
*/

Loading…
Cancel
Save