ButtonConfig
ButtonConfig =
object
Defined in: ui/Button.ts:47
Properties
Section titled “Properties”actions?
Section titled “actions?”
optionalactions:object
Defined in: ui/Button.ts:61
click?
Section titled “click?”
optionalclick:ButtonActionOrCallback
optionaldown:ButtonActionOrCallback
hover?
Section titled “hover?”
optionalhover:ButtonActionOrCallback
optionalout:ButtonActionOrCallback
cursor
Section titled “cursor”cursor:
Cursor
Defined in: ui/Button.ts:68
disabledCursor
Section titled “disabledCursor”disabledCursor:
Cursor
Defined in: ui/Button.ts:69
enabled
Section titled “enabled”enabled:
boolean
Defined in: ui/Button.ts:71
id:
string
Defined in: ui/Button.ts:48
layout?
Section titled “layout?”
optionallayout:Omit<LayoutOptions,"target"> |null|boolean
Defined in: ui/Button.ts:72
sheet:
SpritesheetAsset
Defined in: ui/Button.ts:70
sounds?
Section titled “sounds?”
optionalsounds:object
Defined in: ui/Button.ts:55
click?
Section titled “click?”
optionalclick:AudioAsset
optionaldown:AudioAsset
hover?
Section titled “hover?”
optionalhover:AudioAsset
optionalout:AudioAsset
textLabel?
Section titled “textLabel?”
optionaltextLabel:Partial<TextProps|HTMLTextProps> &object
Defined in: ui/Button.ts:67
Type declaration
Section titled “Type declaration”
optionaltype:"text"|"html"|"bitmap"
textures
Section titled “textures”textures:
object
Defined in: ui/Button.ts:49
active?
Section titled “active?”
optionalactive:TextureAsset
default
Section titled “default”default:
TextureAsset
disabled?
Section titled “disabled?”
optionaldisabled:TextureAsset
hover?
Section titled “hover?”
optionalhover:TextureAsset