From 4687006fa3d183239258c843188a837fefa9af44 Mon Sep 17 00:00:00 2001 From: tristan Date: Wed, 3 Jun 2026 17:35:22 +0200 Subject: [PATCH] =?UTF-8?q?docs(playground)=20:=20exemple=20TabList=20fen?= =?UTF-8?q?=C3=AAtr=C3=A9=20(7=20onglets,=20maxVisibleTabs=3D5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- .playground/pages/composant/tab/tabList.vue | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.playground/pages/composant/tab/tabList.vue b/.playground/pages/composant/tab/tabList.vue index f48d61f..73e9981 100644 --- a/.playground/pages/composant/tab/tabList.vue +++ b/.playground/pages/composant/tab/tabList.vue @@ -36,6 +36,23 @@ + +
+

Beaucoup d'onglets (fenêtré)

+

+ 7 onglets avec :max-visible-tabs="5" — flèches gauche/droite pour faire défiler + (1 par 1). L'onglet actif reste sélectionné même hors fenêtre. +

+ + + + + + + + + +
@@ -60,7 +77,18 @@ const tabsTwo = [ { key: 'details', label: 'Détails', icon: 'mdi:cog-outline' }, ] +const manyTabs = [ + { key: 'infos', label: 'Informations', icon: 'mdi:information-outline' }, + { key: 'adresses', label: 'Adresses', icon: 'mdi:map-marker-outline' }, + { key: 'contacts', label: 'Contacts', icon: 'mdi:account-box-outline' }, + { key: 'compta', label: 'Comptabilité', icon: 'mdi:web' }, + { key: 'documents', label: 'Documents', icon: 'mdi:file-document-outline' }, + { key: 'historique', label: 'Historique', icon: 'mdi:history' }, + { key: 'parametres', label: 'Paramètres', icon: 'mdi:cog-outline' }, +] + const simpleValue = ref('qualimat') const noIconValue = ref('tab1') const twoTabValue = ref('general') +const manyValue = ref('infos')