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/Animation/index.html
Module Css_types.Animation
type animationValue = {
duration : Time.t;
delay : Time.t;
direction : AnimationDirection.t;
timingFunction : TimingFunction.t;
fillMode : AnimationFillMode.t;
playState : AnimationPlayState.t;
iterationCount : AnimationIterationCount.t;
name : AnimationName.t;
}
val make :
?duration:Time.t ->
?delay:Time.t ->
?direction:AnimationDirection.t ->
?timingFunction:TimingFunction.t ->
?fillMode:AnimationFillMode.t ->
?playState:AnimationPlayState.t ->
?iterationCount:AnimationIterationCount.t ->
?name:AnimationName.t ->
unit ->
[> `value of animationValue ]
val toString :
[< `inherit_
| `initial
| `none
| `revert
| `revertLayer
| `unset
| `value of animationValue
| `var of string
| `varDefault of string * string ] ->
string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>