Beagle v1.5 is no longer actively maintained. The documented version you are viewing may contain deprecated functionality. For up-to-date documentation, see the latest version .
Container
is a component that contains other components inside it.
See how the structure is represented:
Attribute | Type | Required | Definition |
---|---|---|---|
children | List <ServerDriven Component> | ✓ | Defines the component list that is part of the container. |
context | ContextData | It is the context in this widget. | |
onInit | List<Action> | It is a parameter that allows you to define a list of actions to be performed when the Widget is displayed. |
Container(
children = listOf(
Text(text = "@{myContext}")
),
context = ContextData(
id = "myContext",
value = "Hello World!"
)
)
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.