ButtonConfig
ButtonConfig:
object
Defined in: ui/Button.ts:37
Type declaration
actions?
optional
actions:object
actions.click?
optional
click:ButtonActionOrCallback
actions.down?
optional
down:ButtonActionOrCallback
actions.hover?
optional
hover:ButtonActionOrCallback
actions.out?
optional
out:ButtonActionOrCallback
actions.up?
optional
up:ButtonActionOrCallback
cursor
cursor:
Cursor
disabledCursor
disabledCursor:
Cursor
enabled
enabled:
boolean
id
id:
string
sheet
sheet:
SpriteSheetLike
sounds?
optional
sounds:object
sounds.click?
optional
click:string
sounds.down?
optional
down:string
sounds.hover?
optional
hover:string
sounds.out?
optional
out:string
sounds.up?
optional
up:string
textures
textures:
object
textures.active?
optional
active:TextureLike
textures.default
default:
TextureLike
textures.disabled?
optional
disabled:TextureLike
textures.hover?
optional
hover:TextureLike