diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-21 15:10:17 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-23 21:53:39 +0200 |
commit | d4640c76287310b40cc5e76b430635c0a006708c (patch) | |
tree | e7bd9bd95c0b1e6c5aaf36ca32654c26d2c82817 /static/elements.ts | |
parent | Made lcov.info phony. (diff) | |
download | calp-d4640c76287310b40cc5e76b430635c0a006708c.tar.gz calp-d4640c76287310b40cc5e76b430635c0a006708c.tar.xz |
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.
Diffstat (limited to 'static/elements.ts')
-rw-r--r-- | static/elements.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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) |