jsMain.styled.CssBuilder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-styled-next-js
Show all versions of kotlin-styled-next-js
Kotlin implementation of styled-components
package styled
import kotlinx.css.CssBuilder
import kotlinx.css.properties.*
fun CssBuilder.animation(
duration: Time = 0.s,
timing: Timing = Timing.ease,
delay: Time = 0.s,
iterationCount: IterationCount = 1.times,
direction: AnimationDirection = AnimationDirection.normal,
fillMode: FillMode = FillMode.none,
playState: PlayState = PlayState.running,
builder: KeyframesBuilder.() -> Unit,
) {
val name = GlobalStyles.scheduleToInject(builder)
animation(name, duration, timing, delay, iterationCount, direction, fillMode, playState)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy