Skip to content

Commit a8088c1

Browse files
committed
feat: add demos of connection element to PL
1 parent d927a21 commit a8088c1

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<bolt-connection
2+
connection-url="https://github.com/basaltinc/temp-pega-dummy-assets/raw/master/animated-bands-ltr.png"
3+
>
4+
<bolt-animate idle="none" slot="top">
5+
top
6+
</bolt-animate>
7+
<bolt-animate idle="pulse" slot="bottom">
8+
bottom
9+
</bolt-animate>
10+
</bolt-connection>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% extends "./_editor-wrapper.twig" %}
2+
3+
{% block content %}
4+
{% include "./20-connection.twig" only %}
5+
{% endblock %}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<div class="js-pega-editor">
2+
<script class="js-pega-editor__config" type="application/json">
3+
{
4+
"styles": ["/build/bolt-global.css"],
5+
"scripts": ["/build/bolt-global.js"]
6+
}
7+
</script>
8+
<button class="js-pega-editor__trigger">Edit</button>
9+
<div class="js-pega-editor__space">
10+
{% block content %}
11+
<bolt-placeholder>
12+
Content to be edited goes here.
13+
</bolt-placeholder>
14+
{% endblock %}
15+
</div>
16+
</div>

0 commit comments

Comments
 (0)