/** * @license * Scale https://github.com/telekom/scale * * Copyright (c) 2021 Egor Kirpichev and contributors, Deutsche Telekom AG * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ import { EventEmitter } from '../../stencil-public-runtime'; export declare class Slider { sliderTrack?: HTMLDivElement; hostElement: HTMLElement; /** (optional) the name of the slider */ name?: string; /** (optional) the display value of the slider */ value?: number; /** t(optional) he minimal value of the slider */ min?: number; /** (optional) the maximal value of the slider */ max?: number; /** (optional) the step size to increase or decrease when dragging slider */ step?: number; /** (optional) slider label */ label?: string; /** (optional) slider display value */ showValue?: boolean; /** (optional) slider value unit */ unit?: string; /** (optional) number of decimal places */ decimals?: 0 | 1 | 2; /** @deprecated - optional) slider custom color */ customColor?: string; /** (optional) disabled */ disabled?: boolean; /** (optional) smaller track */ trackSmall?: boolean; /** (optional) larger thumb */ thumbLarge?: boolean; /** (optional) Slider id */ sliderId?: string; /** (optional) Injected CSS styles */ styles?: string; position: number; scaleChange: EventEmitter; /** @deprecated in v3 in favor of kebab-case event names */ scaleChangeLegacy: EventEmitter; scaleInput: EventEmitter; /** @deprecated in v3 in favor of kebab-case event names */ scaleInputLegacy: EventEmitter; private dragging; private offsetLeft; constructor(); componentWillLoad(): void; disconnectedCallback(): void; componentDidLoad(): void; onButtonDown: () => void; onKeyDown: (event: KeyboardEvent) => void; onDragStart: () => void; onDragging: (event: any) => void; onDragEnd: () => void; handleTouchEvent(event: any): MouseEvent | Touch; setValue: (nextValue: number) => void; handleValueChange(): void; setPosition: () => void; addGlobalListeners(): void; removeGlobalListeners(): void; render(): any; getBasePartMap(): string; getCssClassMap(): string; getCssOrBasePartMap(mode: 'basePart' | 'css'): string; private clamp; }