TabMenu: index of menu item must be accessible in slot #3393
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the feature you would like to see added
hi,
now in slot only item is passed. but sometimes index of elemet is required.
suppose we want to title element by index of that element.
I had to make this change in the tabmenu code to meet my needs.
<component v-else :is="$slots.item" :item="item" :index = i></component>
Is your feature request related to a problem?
No response
Describe the solution you'd like
<component v-else :is="$slots.item" :item="item"></component>
must be changed to:
<component v-else :is="$slots.item" :item="item" :index = i></component>
Describe alternatives you have considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: