This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script lang="ts"> | |
import { tick, onMount } from 'svelte'; | |
export let recipients | |
let recipientDisplayList = []; | |
let innerWidth = 0;//Inner width is the width of email container width. | |
let recipientsWidth = 0; //recipientsWidth width is the width of email length. | |
let recipentsWidthSum = 0; // recipientsWidthSum is the total width of recipientsWidth | |
let lengths = 0; | |
onMount( async () => { | |
for ( let recipient of recipients ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script lang="ts"> | |
import { tick, onMount } from 'svelte'; | |
export let recipients | |
let recipientDisplayList = []; | |
let innerWidth = 0; | |
let recipientsWidth = 0; | |
let recipentsWidthSum = 0; | |
let lengths = 0; | |
onMount( async () => { | |
for ( let recipient of recipients ) { |