<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 |
---|---|---|
|
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"
{% set content %}
<bolt-text>Hello World!</bolt-text>
{% endset %}
{% include '@bolt-components-editor/editor.twig' with {
styles: ['/build/bolt-global.css'],
scripts: ['/build/bolt-global.js'],
content: content,
} only %}
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
content
*
|
HTML content to edit |
string
| — |
|
styles
*
|
URL paths to CSS files that the editable content requires |
array[string]
| — |
|
scripts
*
|
URL paths to JS files that the editable content requires |
array[string]
| — |
|
id
|
ID for this content. Useful for saving back to a data store like Drupal by passing in the paragraph ID. ID emitted in save event. |
string
| — |
|
npm install @bolt/components-editor
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
You are about to reach your monthly data limit...
<bolt-character size="small"></bolt-character>
Name | Required? | Description |
---|---|---|
top
|
No | |
right
|
No | |
bottom
|
No | |
left
|
No |
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Uh oh!
Why is my bill so high? Let me check.
Uh oh!
Bill is due!
Bill is due!
Bill is due!
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
I'm a small character
I'm a medium character
I'm a medium character
I'm a medium character
I'm a large character
Bill is due!
I'm a large character. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Bill is due! Lots more text. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
I'm a large character
Bill is due!
Bill is due!
Bill is due!
Bill is due!
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Why is my bill so high? Let me check.
Corporis expedita labore
You are about to reach your monthly data limit...
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Uh oh!
Why is my bill so high? Let me check.
Uh oh!
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Short text.
Not very long. Lorem ipsum dolor.
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Very long. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
<bolt-status-dialolgue-bar size="small"></bolt-status-dialolgue-bar>
Bill almost due
Bill almost due
Bill almost due!! Take action now before this text wraps to another line.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab dolores fuga in ipsum minus modi nihil nulla odit recusandae sapiente! Aspernatur inventore minima nobis odio reprehenderit? Aliquam laudantium quos repudiandae.
Up Arrow
Down Arrow
Left Arrow
Right Arrow
<bolt-icon-group icon-one-name="eye" icon-two-name="eye" icon-three-name="eye" icon-color="teal"></bolt-icon-group>
You are about to reach your monthly data limit...
Why is my bill so high? Let me check.
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!
You are about to reach your monthly data limit...
Why is my bill so high? Let me check.
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You are about to reach your monthly data limit...
Why is my bill so high? Let me check.
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!
You are about to reach your monthly data limit...
Why is my bill so high? Let me check.
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You are about to reach your monthly data limit...
You are about to reach your monthly data limit...
Why is my bill so high? Let me check.
Customer is 79% likely to call about their bill.
Offer to waive late fee.
You have a data roaming charge and a late fee. Would you like to waive the late fee?
Why is my bill so high?
Thanks for being a valued customer!
Thanks so much for waiving my late fee!