diff --git a/.playground/pages/composant/tab/tabList.vue b/.playground/pages/composant/tab/tabList.vue index 73e9981..ae19ca7 100644 --- a/.playground/pages/composant/tab/tabList.vue +++ b/.playground/pages/composant/tab/tabList.vue @@ -53,6 +53,19 @@ + +
+

Peu d'onglets avec maxVisibleTabs

+

+ 3 onglets avec :max-visible-tabs="5" — le fenêtrage ne s'active pas + (onglets ≤ max), donc pas de flèches, affichage normal centré. +

+ + + + + +
@@ -91,4 +104,11 @@ const simpleValue = ref('qualimat') const noIconValue = ref('tab1') const twoTabValue = ref('general') const manyValue = ref('infos') + +const fewTabs = [ + { key: 'general', label: 'Général', icon: 'mdi:information-outline' }, + { key: 'adresses', label: 'Adresses', icon: 'mdi:map-marker-outline' }, + { key: 'contacts', label: 'Contacts', icon: 'mdi:account-box-outline' }, +] +const fewValue = ref('general')