partey_workadventure/front/src/Components/SoundMeterWidget.svelte

13 lines
347 B
Svelte
Raw Normal View History

2021-05-28 15:48:58 +02:00
<script lang="typescript">
export let volume = 0;
let display = true;
2021-05-28 15:48:58 +02:00
</script>
<div class="sound-progress" class:active={display}>
2021-12-06 16:12:37 +01:00
<span class:active={volume > 5} />
<span class:active={volume > 10} />
<span class:active={volume > 15} />
<span class:active={volume > 40} />
<span class:active={volume > 70} />
2021-05-28 15:48:58 +02:00
</div>