Skip to content
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.

Screen API

  • 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

Render API

  • newState(component, watchState) - calls newState for each child
  • render(component, watchState, tftApi) - calls render for each child
Clone this wiki locally