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.