-
Notifications
You must be signed in to change notification settings - Fork 0
Group
Igor Usenko edited this page Nov 14, 2021
·
6 revisions
It is a component that contains one or more components.
The group displays itself by rendering its children.
-
mount(component, x, y)
- mounts children to the screen by converting its relative coordinates to the real screen coordinates -
contains(component, x, y)
- returns true if (x, y) is inside one of the children
-
newState(component, watchState)
- callsnewState
for each child -
render(component, watchState, tftApi)
- callsrender
for each child