Transition

class Transition(property: String, duration: Double, timingFunction: String? = null, delay: Double? = null)

Type-safe definition of CSS transition.

Parameters

property

the name of the property

duration

the duration of the transition effect (in seconds)

timingFunction

the timing function of the transition effect

delay

the delay of the transition effect (in seconds)

Constructors

Link copied to clipboard
constructor(property: String, duration: Double, timingFunction: String? = null, delay: Double? = null)

Functions

Link copied to clipboard
open override fun toString(): String