Beagle v1.6 is no longer actively maintained. The documented version you are viewing may contain deprecated functionality. For up-to-date documentation, see the latest version .
Touchable defines clickable areas in your application in widgets that are not clickable by default.
See how the structure is represented:
Attribute | Type | Required | Definition |
---|---|---|---|
onPress | Action | ✓ | Defines one or more actions to
be performed when a child component is clicked. |
click Analytic Event | Analytics Click | Click event that will be triggered if an analytics service was implemented. | |
child | Server DrivenComponent | ✓ | Defines a widget that will trigger the onPress attribute. |
Touchable(onPress = listOf(
Alert(title = "Image",
message = "Clicked on Message")),
child = Text("Text with action")
)
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.