package styled-ppx
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Type-safe styled components for ReScript and Melange
Install
dune-project
Dependency
Authors
Maintainers
Sources
styled-ppx-0.61.0.tbz
sha256=c6eba770e9e9bb9002bf3f759f99ebcec6d7b4132c6c2ad562886c88b6839bab
sha512=8a1776181f6ef292518a0b96b1fae7927cf5767dee75dc04bc05d99d297866e45a5943455bea9ce500a04a635bd179d2b2bec8bccebc55dc1e696a23b3efad69
doc/styled-ppx.native/Alias/index.html
Module Alias
val var : ?default:string -> string -> [> Css_types.Var.t ]val rgba :
int ->
int ->
int ->
Css_types.Color.alpha_with_calc ->
[> `rgba of int * int * int * Css_types.Color.alpha_with_calc ]val hsla :
Css_types.Color.angle_with_calc ->
Css_types.Color.percent_with_calc ->
Css_types.Color.percent_with_calc ->
Css_types.Color.angle_with_calc ->
[> `hsla of
Css_types.Color.angle_with_calc
* Css_types.Color.percent_with_calc
* Css_types.Color.percent_with_calc
* Css_types.Color.angle_with_calc ]val translate :
Css_types.Length.t ->
Css_types.Length.t ->
[> `translate of Css_types.Length.t * Css_types.Length.t ]val translate3d :
Css_types.Length.t ->
Css_types.Length.t ->
Css_types.Length.t ->
[> `translate3d of
Css_types.Length.t * Css_types.Length.t * Css_types.Length.t ]val translateX : Css_types.Length.t -> [> `translateX of Css_types.Length.t ]val translateY : Css_types.Length.t -> [> `translateY of Css_types.Length.t ]val translateZ : Css_types.Length.t -> [> `translateZ of Css_types.Length.t ]val rotateX : Css_types.Angle.t -> [> `rotateX of Css_types.Angle.t ]val rotateY : Css_types.Angle.t -> [> `rotateY of Css_types.Angle.t ]val rotateZ : Css_types.Angle.t -> [> `rotateZ of Css_types.Angle.t ]val skew :
Css_types.Angle.t ->
float ->
[> `skew of Css_types.Angle.t * float ]val skewX : Css_types.Angle.t -> [> `skewX of Css_types.Angle.t ]val skewY : Css_types.Angle.t -> [> `skewY of Css_types.Angle.t ]val linearGradient :
Css_types.Gradient.direction option ->
Css_types.Gradient.color_stop_list ->
[> `linearGradient of
Css_types.Gradient.direction option option
* Css_types.Gradient.color_stop_list ]val repeatingLinearGradient :
Css_types.Gradient.direction option ->
Css_types.Gradient.color_stop_list ->
[> `repeatingLinearGradient of
Css_types.Gradient.direction option option
* Css_types.Gradient.color_stop_list ]val radialGradient :
Css_types.Gradient.shape ->
Css_types.Gradient.radial_size ->
Css_types.Position.t ->
Css_types.Gradient.color_stop_list ->
[> `radialGradient of
Css_types.Gradient.shape option
* Css_types.Gradient.radial_size option
* Css_types.Position.t option
* Css_types.Gradient.color_stop_list ]val repeatingRadialGradient :
Css_types.Gradient.shape ->
Css_types.Gradient.radial_size ->
Css_types.Position.t ->
Css_types.Gradient.color_stop_list ->
[> `repeatingRadialGradient of
Css_types.Gradient.shape option
* Css_types.Gradient.radial_size option
* Css_types.Position.t option
* Css_types.Gradient.color_stop_list ]val conicGradient :
Css_types.Gradient.direction option ->
Css_types.Gradient.color_stop_list ->
[> `conicGradient of
Css_types.Gradient.direction option option
* Css_types.Gradient.color_stop_list ]val trackSizes :
Css_types.TrackSize.t array ->
[> `trackSizes of Css_types.TrackSize.t array ]val tracks : Css_types.Track.t array -> [> `tracks of Css_types.Track.t array ]module Calc : sig ... endval size :
[ `auto
| `calc of Css_types.Length.calc_value
| `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 Css_types.Length.t array
| `min of Css_types.Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ] ->
[ `auto
| `calc of Css_types.Length.calc_value
| `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 Css_types.Length.t array
| `min of Css_types.Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ] ->
[> `size of
[ `auto
| `calc of Css_types.Length.calc_value
| `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 Css_types.Length.t array
| `min of Css_types.Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
* [ `auto
| `calc of Css_types.Length.calc_value
| `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 Css_types.Length.t array
| `min of Css_types.Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ] ]val repeatFn :
Css_types.RepeatValue.t ->
Css_types.RepeatTrack.t array ->
[> `repeat of Css_types.RepeatValue.t * Css_types.RepeatTrack.t array ]val minmax :
Css_types.InflexibleBreadth.t ->
Css_types.TrackBreadth.t ->
[> `minmax of Css_types.InflexibleBreadth.t * Css_types.TrackBreadth.t ]val rotate : Css_types.Angle.t -> [> `rotate of Css_types.Angle.t ]val rotate3d :
float ->
float ->
float ->
Css_types.Angle.t ->
[> `rotate3d of float * float * float * Css_types.Angle.t ]val fitContentFn : Css_types.Length.t -> [> `fitContent of Css_types.Length.t ]module Shadow : sig ... endmodule Animation : sig ... endmodule Transition : sig ... endtype animationName = Css_types.AnimationName.ttype angle = Css_types.Angle.ttype animationDirection = Css_types.AnimationDirection.Value.ttype animationFillMode = Css_types.AnimationFillMode.Value.ttype animationIterationCount = Css_types.AnimationIterationCount.Value.ttype animationPlayState = Css_types.AnimationPlayState.Value.ttype cascading = Css_types.Cascading.ttype color = Css_types.Color.ttype fontStyle = Css_types.FontStyle.ttype fontWeight = Css_types.FontWeight.ttype length = Css_types.Length.ttype listStyleType = Css_types.ListStyleType.ttype repeatValue = Css_types.RepeatValue.ttype outlineStyle = Css_types.OutlineStyle.ttype transform = Css_types.Transform.ttype gradient = Css_types.Gradient.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>