From 011aec3dea85b6c0cc90ba632938707c5c8cc43b Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Thu, 18 Feb 2021 21:10:14 +0100 Subject: [PATCH] Tabs redesigned, update url and can show counter. Tabs have been redesigned and can now display a counter. This counter can be set by emiting a "counter" event from the child. Tabs read and set a ?tab={slug} query parameter when changing tab, when loaded we check for this parameter to automatically select the correct tab. --- frontend/ui/Tabs.vue | 109 +++++++++++++++++++++++++++++++------------ 1 file changed, 80 insertions(+), 29 deletions(-) diff --git a/frontend/ui/Tabs.vue b/frontend/ui/Tabs.vue index b2b7cc2..1495987 100644 --- a/frontend/ui/Tabs.vue +++ b/frontend/ui/Tabs.vue @@ -1,51 +1,80 @@