From d4640c76287310b40cc5e76b430635c0a006708c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 21 Apr 2022 15:10:17 +0200 Subject: Repair and rewrote sliders in HTML. The old ones where broken since i accidentally removed setVar, instead of reintrocuding that, I rewrote slider-inputs as web components, which frees us of having some hacky javascript in the html code. --- 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 199839f6..f714815d 100644 --- a/static/elements.ts +++ b/static/elements.ts @@ -8,6 +8,7 @@ import { InputList } from './components/input-list' import { EditRRule } from './components/edit-rrule' import { TabGroupElement } from './components/tab-group-element' import { VEventChangelog } from './components/changelog' +import { SliderInput } from './components/slider' export { initialize_components } @@ -28,6 +29,7 @@ function initialize_components() { customElements.define('date-time-input', DateTimeInput /*, { extends: 'input' } */) customElements.define('input-list', InputList); + customElements.define('slider-input', SliderInput); /* These maybe also require that the global maps are initialized */ customElements.define('popup-element', PopupElement) -- cgit v1.2.3