ModifiersBuilders.SlideOutTransition


@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
class ModifiersBuilders.SlideOutTransition


The sliding out animation for content transition of an element and its children.

Summary

Public functions

AnimationParameterBuilders.AnimationSpec?

Gets the animation parameters for duration, delay, etc.

Int

Gets the slide direction used for slide animations on any element, from its destination in the layout to the specified point.

ModifiersBuilders.SlideBound?

Gets the target offset for animation.

String

Public functions

getAnimationSpec

Added in 1.0.0
fun getAnimationSpec(): AnimationParameterBuilders.AnimationSpec?

Gets the animation parameters for duration, delay, etc.

getDirection

Added in 1.0.0
fun getDirection(): Int

Gets the slide direction used for slide animations on any element, from its destination in the layout to the specified point. If not set, defaults to horizontal from right to the left.

getTargetSlideBound

Added in 1.0.0
fun getTargetSlideBound(): ModifiersBuilders.SlideBound?

Gets the target offset for animation. By default the transition will end at the left parent boundary for horizontal orientation and at the top for vertical orientation. Note that sliding from the screen boundaries can only be achieved if all parent's sizes are big enough to accommodate it.

toString

fun toString(): String