[]
        
(Showing Draft Content)

Viewer.HistoryApi

Interface: HistoryApi

Viewer.HistoryApi

History api

Table of contents

Methods

Methods

canMoveNext

canMoveNext(): boolean

Gets true if history contains any "forward" actions.

Returns

boolean

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:64


canMovePrev

canMovePrev(): boolean

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

Returns

boolean

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:66


clear

clear(): void

Clears all page navigation events from history.

Returns

void

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:62


moveNext

moveNext(): void

Navigates to a next item in the browsing history.

Returns

void

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:58


movePrev

movePrev(): void

Navigates to previously stored state.

Returns

void

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:60