Search
Preparing search index...
The search index is not available
@kano/code
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
ButtonComponent
Class ButtonComponent
Hierarchy
PartComponent
ButtonComponent
Indexable
[
K:
string
]:
any
Index
Constructors
constructor
Events
on
Did
Invalidate
Properties
background
Color
invalidated
label
text
Color
Accessors
properties
Methods
_setup
Properties
apply
invalidate
load
render
reset
serialize
Constructors
constructor
new
Button
Component
(
)
:
ButtonComponent
Returns
ButtonComponent
Events
on
Did
Invalidate
on
Did
Invalidate
:
Properties
background
Color
background
Color
:
string
= "#FF8F00"
invalidated
invalidated
:
boolean
= true
label
label
:
string
= "Click Me!"
text
Color
text
Color
:
string
= "#FFFFFF"
Accessors
Static
properties
properties
:
Methods
Protected
_setup
Properties
_setup
Properties
(
)
:
void
Returns
void
apply
apply
(
)
:
void
Returns
void
invalidate
invalidate
(
)
:
void
Returns
void
load
load
(
data
:
any
)
:
void
Parameters
data:
any
Returns
void
render
render
(
ctx
:
CanvasRenderingContext2D
, el
:
HTMLElement
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
el:
HTMLElement
Returns
void
reset
reset
(
)
:
void
Returns
void
serialize
serialize
(
)
:
object
Returns
object
[
K:
string
]:
any
Globals
Button
Component
constructor
on
Did
Invalidate
background
Color
invalidated
label
text
Color
properties
_setup
Properties
apply
invalidate
load
render
reset
serialize
Generated using
TypeDoc