toggle menu
Litho
androidJvm
switch theme
search in API
litho-widget
/
com.facebook.litho.widget
/
Button
Button
class
Button
(
text
:
String
,
style
:
Style
?
=
null
)
:
KComponent
Members
Constructors
Button
Link copied to clipboard
constructor
(
text
:
String
,
style
:
Style
?
=
null
)
Functions
create
Mount
Content
Link copied to clipboard
fun
createMountContent
(
p0
:
Context
)
:
Any
equals
Link copied to clipboard
operator override
fun
equals
(
@
Nullable
other
:
Any
?
)
:
Boolean
get
Builder
Context
Name
Link copied to clipboard
@
Nullable
fun
getBuilderContextName
(
)
:
String
?
get
Debug
Attribute
Link copied to clipboard
open
fun
<
T
:
Any
>
getDebugAttribute
(
p0
:
AttributeKey
<
T
>
)
:
T
&
Any
get
Debug
Attributes
Link copied to clipboard
open
fun
getDebugAttributes
(
)
:
MutableMap
<
AttributeKey
<
*
>
,
Any
>
get
Handle
Link copied to clipboard
@
Nullable
fun
getHandle
(
)
:
Handle
?
get
Mount
Type
Link copied to clipboard
override
fun
getMountType
(
)
:
Component.MountType
get
Simple
Name
Link copied to clipboard
override
fun
getSimpleName
(
)
:
String
get
Type
Id
Link copied to clipboard
fun
getTypeId
(
)
:
Int
hash
Code
Link copied to clipboard
override
fun
hashCode
(
)
:
Int
is
Equivalent
To
Link copied to clipboard
override
fun
isEquivalentTo
(
other
:
Component
?
)
:
Boolean
make
Shallow
Copy
Link copied to clipboard
override
fun
makeShallowCopy
(
)
:
Component
measure
Link copied to clipboard
fun
measure
(
p0
:
ComponentContext
,
p1
:
Int
,
p2
:
Int
,
p3
:
Size
)
fun
measure
(
p0
:
ComponentContext
,
p1
:
Int
,
p2
:
Int
,
p3
:
Size
,
p4
:
Boolean
)
measure
Might
Not
Cache
Internal
Node
Link copied to clipboard
fun
measureMightNotCacheInternalNode
(
p0
:
ComponentContext
,
p1
:
Int
,
p2
:
Int
,
p3
:
Size
)
render
Link copied to clipboard
open
override
fun
ComponentScope
.
render
(
)
:
Component
set
Builder
Context
Name
Link copied to clipboard
fun
setBuilderContextName
(
@
Nullable
p0
:
String
?
)
set
Debug
Attribute
Key
Link copied to clipboard
open
override
fun
<
T
:
Any
>
setDebugAttributeKey
(
attributeKey
:
AttributeKey
<
T
>
,
value
:
T
&
Any
)
to
String
Link copied to clipboard
override
fun
toString
(
)
:
String