Package-level declarations

Types

Link copied to clipboard
class CrossFade(showComponentB: Boolean, componentA: Component, componentB: Component, transitionType: TransitionType = TransitionType.FADE_IN_FADE_OUT) : KComponent
Link copied to clipboard
class ExpandToReveal(isExpanded: Boolean, component: Component, transitionAnimator: Transition.TransitionAnimator = SPRING_WITH_OVERSHOOT) : KComponent

Component implementing the Expand to Reveal behavior

Link copied to clipboard
data class TransitionKeyStyleItemValue(val transitionKey: String?, val transitionKeyType: Transition.TransitionKeyType)
Link copied to clipboard

Functions

Link copied to clipboard
inline fun Style.transitionKey(context: ComponentContext, transitionKey: String?, transitionKeyType: Transition.TransitionKeyType = TransitionKeyType.LOCAL): Style

Sets transition key and Transition.TransitionKeyType on the View this Component mounts to. Setting this property will cause the Component to be represented as a View at mount time if it wasn't going to already.

Link copied to clipboard

Defines single or multiple Transition animations for the given component