Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
22439d33
Commit
22439d33
authored
Nov 22, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1291 from kartik-v/patch-3
Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
parents
257c4fcb
998d0f71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
Nav.php
extensions/bootstrap/Nav.php
+9
-11
No files found.
extensions/bootstrap/Nav.php
View file @
22439d33
...
...
@@ -14,7 +14,7 @@ use yii\helpers\Html;
/**
* Nav renders a nav HTML component.
*
*
* For example:
*
* ```php
...
...
@@ -28,23 +28,21 @@ 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' => '#'],
* ['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 <amigo.cobos@gmail.com>
* @since 2.0
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment