From 912a370444ad142a81f12a27e538f392824120d3 Mon Sep 17 00:00:00 2001 From: tristan Date: Thu, 4 Jun 2026 08:20:47 +0200 Subject: [PATCH] =?UTF-8?q?docs(playground)=20:=20TabList=20=E2=80=94=20ex?= =?UTF-8?q?emple=203=20onglets=20+=20maxVisibleTabs=20(fen=C3=AAtrage=20in?= =?UTF-8?q?actif)?= 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 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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')