|
|
|
@ -42,13 +42,17 @@ class NavBar extends Widget
|
|
|
|
|
/** |
|
|
|
|
* @var array the HTML attributes for the widget container tag. The following special options are recognized: |
|
|
|
|
* |
|
|
|
|
* - tag: string, defaults to "nav", the name of the container tag |
|
|
|
|
* - tag: string, defaults to "nav", the name of the container tag. |
|
|
|
|
* |
|
|
|
|
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered. |
|
|
|
|
*/ |
|
|
|
|
public $options = []; |
|
|
|
|
/** |
|
|
|
|
* @var array the HTML attributes for the container tag. The following special options are recognized: |
|
|
|
|
* |
|
|
|
|
* - tag: string, defaults to "div", the name of the container tag |
|
|
|
|
* - tag: string, defaults to "div", the name of the container tag. |
|
|
|
|
* |
|
|
|
|
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered. |
|
|
|
|
*/ |
|
|
|
|
public $containerOptions = []; |
|
|
|
|
/** |
|
|
|
@ -63,6 +67,7 @@ class NavBar extends Widget
|
|
|
|
|
public $brandUrl; |
|
|
|
|
/** |
|
|
|
|
* @var array the HTML attributes of the brand link. |
|
|
|
|
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered. |
|
|
|
|
*/ |
|
|
|
|
public $brandOptions = []; |
|
|
|
|
/** |
|
|
|
@ -76,6 +81,7 @@ class NavBar extends Widget
|
|
|
|
|
public $renderInnerContainer = true; |
|
|
|
|
/** |
|
|
|
|
* @var array the HTML attributes of the inner container. |
|
|
|
|
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered. |
|
|
|
|
*/ |
|
|
|
|
public $innerContainerOptions = []; |
|
|
|
|
|
|
|
|
|