Skip to content
On this page

AthenaClient.views.wheelMenu

Functions

open

Usage

AthenaClient.views.wheelMenu.open(label, options, setMouseToCenter?): Promise<void>

Open the wheel menu and inject various options to show. When a user clicks on an option it executes that option based on whatever events, callbacks, etc. are passed.

Static

Parameters

NameTypeDefault value
labelstringundefined
optionsIWheelOptionExt[]undefined
setMouseToCenterbooleanfalse

Returns

Promise<void>

Defined in

client/views/wheelMenu.ts:111


update

Usage

AthenaClient.views.wheelMenu.update(label, options, setMouseToCenter?): void

Does not close the wheel menu but instead overwrites its current options.

Static

Parameters

NameTypeDefault value
labelstringundefined
optionsIWheelOptionExt[]undefined
setMouseToCenter?booleanfalse

Returns

void

Defined in

client/views/wheelMenu.ts:161

Created by Stuyk | Est. 2020