elseif

This block is part of the state ui group and was last modified in core v10.4.28.

elseif v10.4.28

Allows you to use different state UIs based on your given condition.

In pins 3
  • default required
    state

    The state element displayed default.

  • else if required
    condition

    The condition that determines which element is shown.

  • then required
    state

    The state element displayed when the condititon before it is true.

Out pins 1
  • UI
    state

    Returns the element to the frontend state.

A typical wiring for elseif: the state out pin feeds get component child.

Studio canvas example for the elseif block: typical wiring for elseif.

Version history

Introduced in v10.4.28.


Back to state ui Return to the main group to view all sub-groups Back to state conditions Return to the group to view all blocks within this group