i am making a navigation bar and want to add a class to the main ULtag of the menu, does any one know how can i add class to to this element. Currently options and linkOptions are available which apply the attributes to the link / anchor and the parent LIof the anchor.
Here is my current code.
NavBar::begin([
'innerContainerOptions'=>['class'=>'container-fluid'],
'options' => [
'class' => 'style-ihozflem','style'=>'left: 125px; width: 730px; position: absolute; top: 20px; height: 24px;','data'=>['state'=>'center notMobile', 'dropmode'=>"dropDown"]
],
]);
echo Nav::widget([
'encodeLabels'=>false,
'activateItems'=>true,
'items' => $menuItems,
]);
NavBar::end();