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.