<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [BaseSlider](./x-components.baseslider.md)

## BaseSlider variable

This component implements a range slider and prints the selected values. It receives a threshold prop to set the limits and uses v-model to get and set the selected values.

It makes use of the nouslider library

**Signature:**

```typescript
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
    threshold: {
        type: PropType<{
            min: number;
            max: number;
        }>;
        default: () => {
            min: number;
            max: number;
        };
    };
    modelValue: {
        type: PropType<{
            min: number;
            max: number;
        }>;
        required: true;
    };
    contentClass: {
        type: StringConstructor;
        default: string;
    };
}>, {
    slider: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
    rangeSelected: import("vue").ComputedRef<number[]>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
    threshold: {
        type: PropType<{
            min: number;
            max: number;
        }>;
        default: () => {
            min: number;
            max: number;
        };
    };
    modelValue: {
        type: PropType<{
            min: number;
            max: number;
        }>;
        required: true;
    };
    contentClass: {
        type: StringConstructor;
        default: string;
    };
}>> & Readonly<{
    "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
    threshold: {
        min: number;
        max: number;
    };
    contentClass: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```
