<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
|