Container

You will find here the description of Container components and its attribute details

What is it?

Container is a component that contains other components inside it.

See how the structure is represented:

AttributeTypeRequiredDefinition
childrenList <ServerDriven Component>Defines the component list that is part of the container.
contextContextDataIt is the context in this widget.
onInitList<Action>It is a parameter that allows you to define a list of actions to be performed when the Widget is displayed.

How to use it?

Container(
    children = listOf(
        Text(text = "@{myContext}")
    ),
    context = ContextData(
        id = "myContext",
        value = "Hello World!"
    )
)

Last modified February 11, 2021: create content (#298) (43225e15)