You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm using the Tabs widget, I'm able to specify a css class by using: options, itemOptions,
headerOptions and clientOptions properties but none of these set a class to the ul tag.
echo Tabs::widget([
'items' => [
[
'label' => 'Tab one',
'content' => 'Mauris mauris ante, blandit et, ultrices a, suscipit eget...',
],
],
'options' => ['tag' => 'div','class' => 'class_a'], #Applied on DIV tag
'itemOptions' => ['tag' => 'div','class' => 'class_b'], #Applied on DIV tag (content for each LI tag)
'headerOptions' => ['class' => 'class_c'], #Applied on LI tag
'clientOptions' => ['collapsible' => false],
'class' => 'CUSTOM_UL_CLASS' #This would allow me to set a custom UL class
]);
Is there a way to set a custom class in the UL tag? otherwise could you include this option on your code?
The text was updated successfully, but these errors were encountered:
When I'm using the Tabs widget, I'm able to specify a css class by using: options, itemOptions,
headerOptions and clientOptions properties but none of these set a class to the ul tag.
Is there a way to set a custom class in the UL tag? otherwise could you include this option on your code?
The text was updated successfully, but these errors were encountered: