yii2-jui
yii2-jui copied to clipboard
Request to include an option to specify template or class for the ul tag in the tabs widget
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?
I see the status has been changed to ready for adoption, when would it be applied? I would like to keep my code simpler by using the widget 👍
When someone will properly pull request it. It's not a priority currently so could be in waiting state for significant period.