I have created a functionality of dynamically adding new tabs to the tabset when clicking a button.
But I also want a close button with each tab being added dynamically in this way.
How this can be achieved?
2 respuestas
Hi @Gaurav Kabra If you want to remove the tab from dom, you must attach a state (property in js file) to the tab and use if:true template literal. If just hiding the tab works, use css and hide the tab.