Beagle v1.7 is no longer actively maintained. The documented version you are viewing may contain deprecated functionality. For up-to-date documentation, see the latest version .
Your screen has attributes and components that can be used and configured. On the table below, we listed the main characteristics from each of these attributes.
Attribute | Type | Required | Definition |
---|---|---|---|
identifier | String | Attribute that globally identifies a screen in your application so you can attributes actions for it. | |
safe area | Safe Area | Specifies a screen’s component position. | |
navigation bar | Navigation Bar | Allows action/navigation’s bar on the screen. | |
child | Server-Driven Component | ✓ | Define screen’s elements. It can be any visual component that extends toServerDrivenComponent . |
style | Style | Provide visual customization options to the screen. | |
screen analytics event | Screen Event | Configure analytics elements to your screen. | |
context | ContextData | Screen’s context. |
Screen(
navigationBar = NavigationBar(
title = "Beagle Screen",
showBackButton = true,
navigationBarItems = listOf(
NavigationBarItem(
text = "",
image = Local.justMobile("informationImage"),
action = Alert(
title = "Screen",
message = "Some message",
labelOk = "OK"
)
)
)
),
child = Container(
children = listOf(
Text("Some text")
)
)
)
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.