Pilates
    Preparing search index...

    Type Alias FlexDirection

    FlexDirection: "row" | "column" | "row-reverse" | "column-reverse"

    Style types and defaults for the layout engine.

    The shape mirrors a subset of CSS Flexbox plus a few terminal-specific choices (no RTL direction, no baseline alignment in v1).

    String-literal unions are preferred over numeric enums so that user code reads naturally: node.setFlexDirection('row'). Internally we still compare against these strings — the cost is negligible relative to the layout work.