@sandlada/mdc
Version:
@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.
63 lines • 2.12 kB
TypeScript
/**
* @license
* Copyright 2025 Kai-Orion & Sandlada
* SPDX-License-Identifier: MIT
*/
import { LitElement } from 'lit';
declare const BaseSlider_base: import("../../utils/behaviors/mixin").MixinReturn<import("../../utils/behaviors/mixin").MixinReturn<(abstract new (...args: any[]) => import("../../utils/behaviors/element-internals").WithElementInternals) & typeof LitElement & import("../../utils/form/form-associated").FormAssociatedConstructor, import("../../utils/form/form-associated").FormAssociated>, import("../../utils/behaviors/constraint-validation").ConstraintValidation>;
export declare class BaseSlider extends BaseSlider_base {
/**
* The slider minimum value
*/
min: number;
/**
* The slider maximum value
*/
max: number;
/**
* The slider value displayed when range is false.
*/
value?: number;
/**
* The slider start value displayed when range is true.
*/
valueStart?: number;
/**
* The slider end value displayed when range is true.
*/
valueEnd?: number;
/**
* The step between values.
*/
step: number;
/**
* Whether or not to show tick marks.
*/
ticks: boolean;
/**
* Whether or not to show a value label when activated.
*/
labeled: boolean;
/**
* Whether or not to show a value range. When false, the slider displays
* a slideable handle for the value property; when true, it displays
* slideable handles for the valueStart and valueEnd properties.
*/
range: boolean;
/**
* The HTML name to use in form submission for a range slider's starting
* value. Use `name` instead if both the start and end values should use the
* same name.
*/
get nameStart(): string;
set nameStart(name: string);
/**
* The HTML name to use in form submission for a range slider's ending value.
* Use `name` instead if both the start and end values should use the same
* name.
*/
get nameEnd(): string;
set nameEnd(name: string);
}
export {};
//# sourceMappingURL=base-slider.d.ts.map