To add drag functionality . I exposed two more properties:
draggable means that it is possible to drag tab.
onTabDragged will change the tab states when drag is success. (onTabChanged already exists)
Furthermore, taking inspiration from the interaction in VSCode, I have implemented the following two details:
Select the current tab when dragging starts.
Change the background color of the target position during dragging.
This change resolves #7
To add drag functionality . I exposed two more properties:
draggable
means that it is possible to drag tab.onTabDragged
will change the tab states when drag is success. (onTabChanged
already exists)Furthermore, taking inspiration from the interaction in VSCode, I have implemented the following two details: