LayoutAxis

public enum LayoutAxis

Primary layout axis of a view. Used by the SwiftWeb layout system to translate GrowingLayoutAxiss into CSS attributes at each level of the view hierarchy.

  • Indicates that a View lays out its children horizontally.

    Declaration

    Swift

    case horizontal
  • Indicates that a View lays out its children vertically.

    Declaration

    Swift

    case vertical