# ReportViewer.HistoryApi

## Content

# Interface: HistoryApi

[ReportViewer](../modules/ReportViewer).HistoryApi

History api

## Table of contents

### Methods

- [canMoveNext](ReportViewer.HistoryApi#canmovenext)
- [canMovePrev](ReportViewer.HistoryApi#canmoveprev)
- [clear](ReportViewer.HistoryApi#clear)
- [moveNext](ReportViewer.HistoryApi#movenext)
- [movePrev](ReportViewer.HistoryApi#moveprev)

## Methods

### <a id="canmovenext" name="canmovenext"></a> canMoveNext

▸ **canMoveNext**(): `boolean`

Gets true if history contains any "forward" actions.

#### Returns

`boolean`

___

### <a id="canmoveprev" name="canmoveprev"></a> canMovePrev

▸ **canMovePrev**(): `boolean`

Gets true if history contains any action that could be rolled back.

#### Returns

`boolean`

___

### <a id="clear" name="clear"></a> clear

▸ **clear**(): `void`

Clears all page navigation events from history.

#### Returns

`void`

___

### <a id="movenext" name="movenext"></a> moveNext

▸ **moveNext**(): `void`

Navigates to a next item in the browsing history.

#### Returns

`void`

___

### <a id="moveprev" name="moveprev"></a> movePrev

▸ **movePrev**(): `void`

Navigates to previously stored state.

#### Returns

`void`
