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:
|onPress||Action||✓||Defines one or more actions to
be performed when a |
|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.