# Class: VuexMultiHistory <STATE>

# Type parameters

STATE

# Hierarchy

  • VuexMultiHistory

# Constructors

# constructor

+ new VuexMultiHistory(options?: Partial‹VuexMultiHistoryOptions›): VuexMultiHistory

Defined in VuexMultiHistory.ts:80

Parameters:

Name Type
options? Partial‹VuexMultiHistoryOptions

Returns: VuexMultiHistory

# Properties

# data

data: Data

Defined in VuexMultiHistory.ts:77


# options

options: Required‹VuexMultiHistoryOptions

Defined in VuexMultiHistory.ts:78


# plugin

plugin: Plugin‹any›

Defined in VuexMultiHistory.ts:76


# store

store: Store‹STATE›

Defined in VuexMultiHistory.ts:79

# Methods

# addHistory

addHistory(historyKey: string): VuexHistory | undefined

Defined in VuexMultiHistory.ts:139

Parameters:

Name Type
historyKey string

Returns: VuexHistory | undefined


# deserialize

deserialize(historyKey: string, stateData: any): any

Defined in VuexMultiHistory.ts:183

Parameters:

Name Type
historyKey string
stateData any

Returns: any


# getHistory

getHistory(historyKey?: undefined | string): VuexHistory

Defined in VuexMultiHistory.ts:157

Parameters:

Name Type
historyKey? undefined | string

Returns: VuexHistory


# hasHistory

hasHistory(historyKey: string): boolean

Defined in VuexMultiHistory.ts:153

Parameters:

Name Type
historyKey string

Returns: boolean


# listHistoryKeys

listHistoryKeys(): string[]

Defined in VuexMultiHistory.ts:165

Returns: string[]


# removeHistory

removeHistory(historyKey: string): VuexHistory | undefined

Defined in VuexMultiHistory.ts:169

Parameters:

Name Type
historyKey string

Returns: VuexHistory | undefined


# serialize

serialize(historyKey: string, state: STATE): any

Defined in VuexMultiHistory.ts:179

Parameters:

Name Type
historyKey string
state STATE

Returns: any