ElementType

public enum ElementType: String

Determines the type of an element.

  • Element type is unknown, it won’t be added to the UI hierarchy.

    Declaration

    Swift

    case Unknown = "unknown"
  • Element is a label.

    Declaration

    Swift

    case Label = "label"
  • Element is a button.

    Declaration

    Swift

    case Button = "button"
  • Element is a button that can be toggled between two states. (e.g. Play/pause button)

    Declaration

    Swift

    case ToggleButton = "toggleButton"
  • Element is a slider.

    Declaration

    Swift

    case Slider = "slider"