Slide
Import
import { Slide } from '@resultadosdigitais/tangram-components'
Properties
children
direction
Type | Enum of: |
---|---|
Default | Slide.directions.horizontal |
Description
Direction the child node will enter from.
duration
Type | Enum of: |
---|---|
Default | Slide.durations.normal |
Description
Sets the durations of the transition between from and to values.
hiddenVisibility
keepMounted
🗑️
Concerns | 🗑️ Deprecated: - Use `unmount` property instead. |
---|---|
Type | bool |
Default | true |
Description
Keep the component mounted before and after the animation.
unmount
from
Type | number |
---|---|
Default | 0 |
Description
Sets the pixel position to define the start point of animation. Negative number are allowed.
in
onStart
Type | func |
---|---|
Param | event React.SyntheticEvent - The event source of the callback. |
Description
Sets the callback when animation start.
onEnd
Type | func |
---|---|
Param | event React.SyntheticEvent - The event source of the callback. |
Description
Sets the callback when animation end.
to
Type | number |
---|---|
Default | 0 |
Description
Sets the pixel position to define the end point of animation. Negative number are allowed.