Skip to content

@maxhealth.tech/prefab / actions / PopState

Class: PopState ​

Defined in: actions/client.ts:67

Base interface all actions implement

Implements ​

Constructors ​

Constructor ​

ts
new PopState(key, index): PopState;

Defined in: actions/client.ts:68

Parameters ​

ParameterType
keystring
indexstring | number

Returns ​

PopState

Properties ​

key ​

ts
readonly key: string;

Defined in: actions/client.ts:69


index ​

ts
readonly index: string | number;

Defined in: actions/client.ts:70

Methods ​

toJSON() ​

ts
toJSON(): ActionJSON;

Defined in: actions/client.ts:73

Returns ​

ActionJSON

Implementation of ​

Action.toJSON

Released under the MIT License.