Skip to content
On this page

AthenaShared.interfaces.wheelMenu.IWheelOption

shared/interfaces/wheelMenu.IWheelOption

Used to describe a wheel menu option.

Interface

IWheelOption

Hierarchy

Properties

bgImage

Optional bgImage: string

Image based on asset path. Example: '/assets/icons/bullpuprifle.png'

Defined in

shared/interfaces/wheelMenu.ts:93


color

Optional color: string

A plain text color for the icon and text color.

ie. red, green, yellow, etc.

Defined in

shared/interfaces/wheelMenu.ts:33


data

Optional data: any[]

Any data that you want to pass through a callback or an event.

Defined in

shared/interfaces/wheelMenu.ts:75


doNotClose

Optional doNotClose: boolean

Do not close the wheel menu after executing this option.

Defined in

shared/interfaces/wheelMenu.ts:51


emitClient

Optional emitClient: string

From the client, emit a client event through alt.emit

Defined in

shared/interfaces/wheelMenu.ts:67


emitServer

Optional emitServer: string

From the client, call a specific server event through alt.emitServer

Defined in

shared/interfaces/wheelMenu.ts:59


icon

Optional icon: string

An icon from the icons page in the pages.

ie. icon-home

Defined in

shared/interfaces/wheelMenu.ts:43


image

Optional image: string

Image based on asset path. Example: '/assets/icons/bullpuprifle.png'

Defined in

shared/interfaces/wheelMenu.ts:84


name

name: string

The name of this option.

Defined in

shared/interfaces/wheelMenu.ts:14


uid

Optional uid: string

A unique identifier for this option.

If not specified one will automatically be created.

Defined in

shared/interfaces/wheelMenu.ts:23

Created by Stuyk | Est. 2020