Overview
Here you’ll find all about screen’s components and its attributes details.
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")
)
)
)
Here you’ll find all about screen’s components and its attributes details.
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.