1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-15 21:04:04 +00:00

Use new loading interface for collection indexes

This commit is contained in:
2023-06-26 21:09:28 +02:00
parent 9acb89205d
commit efcc78e3bb
3 changed files with 13 additions and 6 deletions

View File

@ -1,5 +1,10 @@
<script>
export let name = '';
export let spin = false;
if (name === 'loading') {
spin = true;
}
</script>
<style>
@ -35,7 +40,7 @@
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class:spinning={name === 'loading'}
class:spinning={spin}
>
{#if name === 'radio'}
<circle cx="12" cy="12" r="2"></circle><path d="M16.24 7.76a6 6 0 0 1 0 8.49m-8.48-.01a6 6 0 0 1 0-8.49m11.31-2.82a10 10 0 0 1 0 14.14m-14.14 0a10 10 0 0 1 0-14.14"></path>