toffee.style
Style.Flex_wrap
Controls whether flex items wrap onto multiple lines.
Defaults to No_wrap.
No_wrap
See CSS Flexbox Specification.
compute_block
compute_flexbox
compute_grid
compute_helpers
toffee
toffee.compute
toffee.geometry
toffee.tree
type t =
| No_wrap
Items stay on a single line
| Wrap
Items wrap to multiple lines as needed
| Wrap_reverse
Items wrap to multiple lines in reverse direction
val default : t
default returns No_wrap.
default
val to_string : t -> string
to_string t returns the CSS string representation of t.
to_string t
t
val equal : t -> t -> bool
equal a b returns true if a and b are the same wrap mode.
equal a b
true
a
b
val compare : t -> t -> int
compare a b compares a and b for use in maps and sets.
compare a b
val pp : Format.formatter -> t -> unit
pp fmt t prints t to formatter fmt.
pp fmt t
fmt