group

fun group(properties: Iterable<String>, duration: CSSTimeNumericValue? = null, timingFunction: TransitionTimingFunction? = null, delay: CSSTimeNumericValue? = null, behavior: TransitionBehavior? = null): Array<Transition.Repeatable>(source)

A convenience method for when you want to animate multiple properties with the same values.

Returns an array, so you can use feed it into transition as vararg parameters using the spread operator:

transition(Transition.group(listOf("width", ...), ...))

fun group(properties: Iterable<TransitionProperty.Name>, duration: CSSTimeNumericValue? = null, timingFunction: TransitionTimingFunction? = null, delay: CSSTimeNumericValue? = null, behavior: TransitionBehavior? = null): Array<Transition.Repeatable>(source)

A convenience method for when you want to animate multiple properties with the same values.

Returns an array, so you can use feed it into transition as vararg parameters using the spread operator:

transition(Transition.group(listOf(TransitionProperty.of("width"), ...), ...))