Skip to main content

TextButton

Type nameSupports Property AnimationsControlled by defaultMay contain associated actionLink
TextButton✗✔️✔️link

Usage​

TextButton(
&duit_attributes.TextButtonAttributes[duit_color.ColorString, duit_core.RemoteAction]{
Autofocus: false,
OnLongPress: &duit_core.RemoteAction{
Event: "/some_endpoint",
},
},
"id",
&duit_core.RemoteAction{
Event: "/on_pressed_endpoint",
},
nil, //child
)