From e71f0c20adc4dc2f49bca99a859241fdadf376d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 30 Nov 2021 01:09:53 +0100 Subject: Rework tab system. This sepparates popup-elements from their tabbed contents, allowing clearer sepparations of concerns, along with easier adding and removing of tabs to the tabset! --- static/elements.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'static/elements.ts') diff --git a/static/elements.ts b/static/elements.ts index b499556f..870a27e6 100644 --- a/static/elements.ts +++ b/static/elements.ts @@ -6,6 +6,7 @@ import { DateTimeInput } from './components/date-time-input' import { PopupElement } from './components/popup-element' import { InputList } from './components/input-list' import { EditRRule } from './components/edit-rrule' +import { TabGroupElement } from './components/tab-group-element' export { initialize_components } @@ -29,4 +30,5 @@ function initialize_components() { /* These maybe also require that the global maps are initialized */ customElements.define('popup-element', PopupElement) + customElements.define('tab-group', TabGroupElement) } -- cgit v1.2.3