Open somangshu opened 1 year ago
@somangshu can you link to original issue? Also a technical doubt, how will we know something before it has happened? Does it make sense to add onTabSelected event instead?
@dilippitchika @ashit-rath
onTabSelected
event to achieve the scenarioRef #18369
Why do you think this is high priority @somangshu? Or was it added by accident?
Let me think about it and get back.
@somangshu haven't heard back from the user yet. I am removing the high priority tag for now and adding the discussion we had on chat here.
Suggested solution Instead of giving an event we can give devs the power to
Is there an existing issue for this?
Summary
As a user I should be able to fire an event before a new tab is selected in the tabs widget. There should be an new property present called as
beforeTabSelected
/beforeTabChanged
for me to choose an JS function / Query / API to fireWhy should this be worked on?
Context from a real world scenario