pinafore/src/routes/_components/LoadingSpinner.html

28 lines
543 B
HTML
Raw Normal View History

<SvgIcon className="loading-spinner-icon spin {maskStyle ? 'mask-style' : ''}"
style="width: {size}px; height: {size}px;"
href="#fa-spinner"
ariaLabel="Loading"
/>
2018-01-15 07:24:27 +00:00
<style>
:global(.loading-spinner-icon) {
2018-01-15 07:24:27 +00:00
fill: var(--svg-fill);
}
:global(.loading-spinner-icon.mask-style) {
2018-01-15 07:24:27 +00:00
fill: var(--mask-svg-fill);
}
</style>
<script>
import SvgIcon from './SvgIcon.html'
export default {
data: () => ({
maskStyle: false,
size: 64
}),
components: {
SvgIcon
}
}
</script>