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:62
click?
Section titled “click?”
optional
click:ButtonActionOrCallback
optional
down:ButtonActionOrCallback
hover?
Section titled “hover?”
optional
hover:ButtonActionOrCallback
optional
out:ButtonActionOrCallback
optional
up:ButtonActionOrCallback
cursor
Section titled “cursor”cursor:
Cursor
Defined in: ui/Button.ts:70
disabledCursor
Section titled “disabledCursor”disabledCursor:
Cursor
Defined in: ui/Button.ts:71
enabled
Section titled “enabled”enabled:
boolean
Defined in: ui/Button.ts:73
id:
string
Defined in: ui/Button.ts:48
layout?
Section titled “layout?”
optional
layout:Omit
<LayoutOptions
,"target"
> |null
|boolean
Defined in: ui/Button.ts:74
sheet:
SpriteSheetLike
Defined in: ui/Button.ts:72
sounds?
Section titled “sounds?”
optional
sounds:object
Defined in: ui/Button.ts:55
click?
Section titled “click?”
optional
click:string
optional
down:string
hover?
Section titled “hover?”
optional
hover:string
optional
out:string
optional
up:string
textLabel?
Section titled “textLabel?”
optional
textLabel:Partial
<TextProps
|HTMLTextProps
> &object
Defined in: ui/Button.ts:69
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:TextureLike
default
Section titled “default”default:
TextureLike
disabled?
Section titled “disabled?”
optional
disabled:TextureLike
hover?
Section titled “hover?”
optional
hover:TextureLike