pinafore/src/routes/_components/LoadingSpinner.html

23 lines
443 B
HTML
Raw Normal View History

<svg class="loading-spinner-icon spin {maskStyle ? 'mask-style' : ''}"
style="width: {size}px; height: {size}px;"
2018-02-23 06:10:05 +00:00
aria-label="Loading"
2018-01-22 00:07:11 +00:00
>
<use xlink:href="#fa-spinner" />
2018-01-15 07:24:27 +00:00
</svg>
<style>
.loading-spinner-icon {
2018-01-15 07:24:27 +00:00
fill: var(--svg-fill);
}
.loading-spinner-icon.mask-style {
2018-01-15 07:24:27 +00:00
fill: var(--mask-svg-fill);
}
</style>
<script>
export default {
data: () => ({
maskStyle: false,
size: 64
})
}
</script>