"use strict";
class CustomSlider {
    constructor(sliderId, displayId) {
        this.updateDisplay = () => {
            this.valueDisplay.textContent = this.slider.value;
        };
        this.slider = document.getElementById(sliderId);
        this.valueDisplay = document.getElementById(displayId);
        this.slider.addEventListener('input', this.updateDisplay);
        this.updateDisplay();
    }
}
new CustomSlider('mySlider', 'sliderValueDisplay');
//# sourceMappingURL=Slider.js.map