<bolt-animate in="fade-in"> ...</bolt-animate>
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
initialAppearance
|
string
|
hidden
|
|
|
in
|
string
|
none
|
|
|
inDuration
|
Set in milliseconds |
number
|
500
|
|
inDelay
|
Set in milliseconds |
number
|
0
|
|
inEasing
|
string
|
ease
|
|
|
inOrder
|
number
|
1
|
|
|
idle
|
string
|
none
|
|
|
idleDuration
|
Set in milliseconds |
number
|
500
|
|
idleDelay
|
Set in milliseconds |
number
|
0
|
|
out
|
string
|
none
|
|
|
outDuration
|
Set in milliseconds |
number
|
350
|
|
outDelay
|
Set in milliseconds |
number
|
0
|
|
outEasing
|
string
|
ease
|
|
|
outOrder
|
number
|
1
|
|
|
showMeta
|
boolean
|
false
|
|
npm install @bolt/components-animate
Name | Required? | Description |
---|---|---|
default
|
No | wrapped content to animate |
Name | Description |
---|---|
triggerAnimIn() => boolean
|
start the in animation, will go to idle animation after
|
triggerAnimOut() => boolean
|
start the out animation
|
Name | Detail | Description |
---|---|---|
bolt-animate:end:in
|
{}
|
Indicates when the in animation concluded
|
bolt-animate:end:out
|
{}
|
Indicates when the out animation concluded
|
in="none"
in="fade-in"
in="slide-down"
in="fade-in-slide-up"
in="fade-in-slide-down"
in="fade-in-slide-left"
in="fade-in-slide-right"
in="fade-in-fade-out"
out="none"
out="fade-out"
out="fade-out-slide-up"
out="slide-up"
out="fade-out-slide-down"
out="fade-out-slide-left"
out="fade-out-slide-right"