Module Skyline_flex_v1Source

Helpers for display: flex containers, similar to View.hbox and View.vbox, but using the terminology from CSS.

Also see the flex-box guide.

Sourcemodule Wrap : sig ... end
Sourcemodule Justify : sig ... end
Sourcemodule Align : sig ... end
Sourceval row : ?attrs:Bonsai_web.Vdom.Attr.t list -> ?reverse:bool -> ?wrap:Wrap.t -> ?justify:Justify.t -> ?align:Align.t -> ?gap:Css_gen.Length.t -> ?padding:Css_gen.Length.t -> Bonsai_web.Vdom.Node.t list -> Bonsai_web.Vdom.Node.t

A flex-box container with flex-direction: row (or row-reverse), laying out items left-to-right (or right-to-left).

Also see the flex-box guide.

Sourceval column : ?attrs:Bonsai_web.Vdom.Attr.t list -> ?reverse:bool -> ?wrap:Wrap.t -> ?justify:Justify.t -> ?align:Align.t -> ?gap:Css_gen.Length.t -> ?padding:Css_gen.Length.t -> Bonsai_web.Vdom.Node.t list -> Bonsai_web.Vdom.Node.t

A flex-box container with flex-direction: column (or column-reverse), laying out items top-to-bottom (or bottom-to-top).

Also see the flex-box guide.