# Tabs Behavior
# Drag Sort
RouterTab supports tab drag sort by default, you can disable this function by configuring :dragsort="false".
Example:
<router-tab :dragsort="false" />
1
# Insert Position
RouterTab can specify the insert position of the new tab by configuring append, and supports the following two options:
lastEnd of tabs (default)nextNext position of current tab
Example:
<router-tab append="next" />
1
# Close Last Tab
By default, the last tab of RouterTab can not be closed manually.
This behavior can be modified by configuring :keep-last-tab="false".
After closing the last tab, RouterTab will redirect to the default route.
Example:
<router-tab :keep-last-tab="false" />
1
← I18n Scroll Position →