package styled-ppx
Type-safe styled components for ReScript and Melange
Install
Dune Dependency
Authors
Maintainers
Sources
styled-ppx-0.59.1.tbz
sha256=8e9aabb5b5f98be5ecf8ba733a0111bcffd5fa2cba85181a58ba791f6d01d454
sha512=fcd0cd606a2630268e8cf38e36dedfdbb1fb6171160808b486d79200c0170460cf32900741eaa7b881ceea644b31ee1dc2a555ad208ccb9ad845c3d86b83085c
doc/styled-ppx.native/Css_types/Length/index.html
Module Css_types.Length
type length = [
| `ch of float
| `cqw of float
| `cqh of float
| `cqi of float
| `cqb of float
| `cqmin of float
| `cqmax of float
| `em of float
| `ex of float
| `rem of float
| `vh of float
| `vw of float
| `vmin of float
| `vmax of float
| `px of int
| `pxFloat of float
| `cm of float
| `mm of float
| `inch of float
| `pc of float
| `pt of int
| `zero
| Percentage.t
]
type calc_value = [
| length
| `min of t array
| `max of t array
| `add of calc_value * calc_value
| `sub of calc_value * calc_value
| `mult of calc_value * calc_value
| `div of calc_value * float
| `calc of calc_value
| `num of float
]
val toString : t -> string
val calc_value_to_string : calc_value -> string
val minmax_to_string :
[< `calc of
[< `add of t * t | `div of t * float | `mult of t * t | `sub of t * t ]
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `inch of float
| `max of t array
| `min of t array
| `mm of float
| `num of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero max min ] ->
string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>