---
title: Interface: PlaybackOptions<V\>
source: https://vjmap.com/doc/Interface_PlaybackOptions.html
---

# Interface: PlaybackOptions<V\>

Playback options common to all animations.

### Type parameters

| Name |
| :------ |
| `V` |

### Table of contents

#### Properties

- [autoplay](#autoplay)
- [driver](#driver)
- [elapsed](#elapsed)
- [from](#from)
- [onComplete](#oncomplete)
- [onPlay](#onplay)
- [onRepeat](#onrepeat)
- [onStop](#onstop)
- [onUpdate](#onupdate)
- [repeat](#repeat)
- [repeatDelay](#repeatdelay)
- [repeatType](#repeattype)
- [type](#type)

### Properties

#### autoplay

• `Optional` **autoplay**: *boolean*

Whether to autoplay the animation when animate is called. If
set to false, the animation must be started manually via the returned
play method.

___

#### driver

• `Optional` **driver**: [*Driver*](#driver)

___

#### elapsed

• `Optional` **elapsed**: *number*

___

#### from

• `Optional` **from**: V

___

#### onComplete

• `Optional` **onComplete**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onPlay

• `Optional` **onPlay**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onRepeat

• `Optional` **onRepeat**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onStop

• `Optional` **onStop**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onUpdate

• `Optional` **onUpdate**: (`latest`: V) => *void*

##### Type declaration

▸ (`latest`: V): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `latest` | V |

**Returns:** *void*

___

#### repeat

• `Optional` **repeat**: *number*

___

#### repeatDelay

• `Optional` **repeatDelay**: *number*

___

#### repeatType

• `Optional` **repeatType**: ``"loop"`` \| ``"reverse"`` \| ``"mirror"``

___

#### type

• `Optional` **type**: ``"spring"`` \| ``"decay"`` \| ``"keyframes"``


<a name="interfacespointgeojsoninputmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / PointGeoJsonInput
