package mosaic

  1. Overview
  2. Docs

Module Mosaic_mlx.AlignSource

Alignment along the cross/block axis (align-items, align-self, justify-items, justify-self).

type t = Toffee.Style.Align_items.t =
  1. | Start
    (*

    Pack items toward the start of the axis.

    *)
  2. | End
    (*

    Pack items toward the end of the axis.

    *)
  3. | Flex_start
    (*

    Pack items toward the flex-relative start.

    *)
  4. | Flex_end
    (*

    Pack items toward the flex-relative end.

    *)
  5. | Center
    (*

    Pack items along the center of the axis.

    *)
  6. | Baseline
    (*

    Align items such that their baselines align.

    *)
  7. | Stretch
    (*

    Stretch items to fill the container.

    *)