widgets\Menu $itemOptions

$itemOptions public property

List of HTML attributes shared by all menu $items. If any individual menu item specifies its options, it will be merged with this property before being used to generate the HTML attributes for the menu item tag. The following special options are recognized:

  • tag: string, defaults to "li", the tag name of the item container tags. Set to false to disable container tag. See also yii\helpers\Html::tag().

See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered.

public array $itemOptions = []
doc_Yii
2016-10-30 17:18:37
Comments
Leave a Comment

Please login to continue.