Interface ActionWithSubmenu

Undocumented

Hierarchy

Properties

actionGroup?: string

Undocumented

actionType?: string

Undocumented

boundObject?: any

Undocumented

category?: string | (() => string)

Name of the action's category. Categories are defined in the global actionCategories object. Default is general.

checkAble?: boolean

Undocumented

checkedHandler?: (() => void)

Type declaration

    • (): void
    • Undocumented

      Returns void

disabled?: OptionalPromiseResolvable<boolean>

Undocumented

execute?: ((...params) => void)

Type declaration

    • (...params): void
    • Undocumented

      Parameters

      • Rest ...params: any[]

      Returns void

getTracklist?: ((...params) => Tracklist)

Type declaration

hotkeyAble?: boolean

Determines whether the action can be tied to a hotkey. Default is false.

hotkeyTitle?: OptionalResolvable<string>

Undocumented

icon?: OptionalResolvable<string>

Icon that shows in menus that contain the action. The icon ids are located in skin/(iconname).svg.

Undocumented

title?: OptionalResolvable<string>

Title of the action.

visible?: OptionalPromiseResolvable<boolean>

Determines whether the action will show up in menus. This can be useful for integrating party mode, for example, by disabling your action when party mode is enabled with visible: uitools.getCanEdit.