ButtonConfig
ButtonConfig =
object
Defined in: ui/Button.ts:47
Properties
Section titled “Properties”actions?
Section titled “actions?”
optional
actions:object
Defined in: ui/Button.ts:61
click?
Section titled “click?”
optional
click:ButtonActionOrCallback
optional
down:ButtonActionOrCallback
hover?
Section titled “hover?”
optional
hover:ButtonActionOrCallback
optional
out: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?”
optional
layout:Omit
<LayoutOptions
,"target"
> |null
|boolean
Defined in: ui/Button.ts:72
sheet:
SpritesheetAsset
Defined in: ui/Button.ts:70
sounds?
Section titled “sounds?”
optional
sounds:object
Defined in: ui/Button.ts:55
click?
Section titled “click?”
optional
click:AudioAsset
optional
down:AudioAsset
hover?
Section titled “hover?”
optional
hover:AudioAsset
optional
out:AudioAsset
textLabel?
Section titled “textLabel?”
optional
textLabel:Partial
<TextProps
|HTMLTextProps
> &object
Defined in: ui/Button.ts:67
Type declaration
Section titled “Type declaration”
optional
type:"text"
|"html"
|"bitmap"
textures
Section titled “textures”textures:
object
Defined in: ui/Button.ts:49
active?
Section titled “active?”
optional
active:TextureAsset
default
Section titled “default”default:
TextureAsset
disabled?
Section titled “disabled?”
optional
disabled:TextureAsset
hover?
Section titled “hover?”
optional
hover:TextureAsset