Skip to content

Commit eb29c35

Browse files
committed
add web worker proxy using lighting container
1 parent fc069cd commit eb29c35

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<aura:component >
2+
<aura:attribute name="proxy" type="String" required="true" default="" />
3+
<lightning:container class="invisible" src="{!v.proxy}" />
4+
</aura:component>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<AuraDefinitionBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3+
<apiVersion>49.0</apiVersion>
4+
<description>A Lightning Component Bundle</description>
5+
</AuraDefinitionBundle>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.THIS {
2+
width: 0;
3+
height: 0;
4+
}
5+
.THIS iframe.invisible {
6+
width: 0;
7+
height: 0;
8+
outline: none;
9+
visibility: hidden;
10+
}

0 commit comments

Comments
 (0)