aboutsummaryrefslogtreecommitdiff
path: root/static/elements.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-30 01:09:53 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-30 01:09:53 +0100
commite71f0c20adc4dc2f49bca99a859241fdadf376d3 (patch)
tree3231d1e491fcd1ed9dc0ab31cac4fdedb733807d /static/elements.ts
parentChange UID resolve. (diff)
downloadcalp-e71f0c20adc4dc2f49bca99a859241fdadf376d3.tar.gz
calp-e71f0c20adc4dc2f49bca99a859241fdadf376d3.tar.xz
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!
Diffstat (limited to 'static/elements.ts')
-rw-r--r--static/elements.ts2
1 files changed, 2 insertions, 0 deletions
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)
}