Skip to content

@maxhealth.tech/prefab / actions / ToggleState

Class: ToggleState ​

Defined in: actions/client.ts:37

Base interface all actions implement

Implements ​

Constructors ​

Constructor ​

ts
new ToggleState(key): ToggleState;

Defined in: actions/client.ts:38

Parameters ​

ParameterType
keystring

Returns ​

ToggleState

Properties ​

key ​

ts
readonly key: string;

Defined in: actions/client.ts:38

Methods ​

toJSON() ​

ts
toJSON(): ActionJSON;

Defined in: actions/client.ts:40

Returns ​

ActionJSON

Implementation of ​

Action.toJSON

Released under the MIT License.