# ButtonRepeatOptions (@salmonui/buttons/button)

> The ButtonRepeatOptions interface of @salmonui/buttons/button: repeat option of Button.

Canonical: https://salmonui.dev/docs/reference/buttons/button/ButtonRepeatOptions

```ts
import type { ButtonRepeatOptions } from '@salmonui/buttons/button';
```

Entry index: https://salmonui.dev/docs/reference/buttons/button (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/buttons/button.md).

## Reference

Kind: interface

```ts
interface ButtonRepeatOptions {
    delay?: number;
    interval?: number;
}
```

`repeat` option of `Button`.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `delay` | `delay?: number;` | optional | Hold time before the first repeat, in ms. Default 400. |
| `interval` | `interval?: number;` | optional | Time between repeats, in ms (pointer and keyboard). Default 100. |
