---
id: fast-foundation.slider.valuetextformatter
title: Slider.valueTextFormatter property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Slider](./fast-foundation.slider.md) &gt; [valueTextFormatter](./fast-foundation.slider.valuetextformatter.md)

## Slider.valueTextFormatter property

Custom function that generates a string for the component's "aria-valuetext" attribute based on the current value.

<b>Signature:</b>

```typescript
valueTextFormatter: (value: string) => string | null;
```