mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-04-26 09:33:37 +00:00
* On every route change, update local variables from query params * ResultSection is keyed to query to force re-render * Resolved lint warnings * replace webpack w/ vite * update all imports with alias @ and scss * vite environment variables, also typed * upgraded eslint, defined new rules & added ignore comments * resolved linting issues * moved index.html to project root * updated dockerfile w/ build stage before runtime image definition * sign drone config
25 lines
472 B
Vue
25 lines
472 B
Vue
<template>
|
|
<div class="text-input__loading" :style="`margin-top: ${top || 0}rem`">
|
|
<div
|
|
v-for="l in Array(count || 1)"
|
|
:key="l"
|
|
class="text-input__loading--line"
|
|
:class="lineClass || ''"
|
|
></div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
interface Props {
|
|
count?: number;
|
|
lineClass?: string;
|
|
top?: number;
|
|
}
|
|
|
|
defineProps<Props>();
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
@import "scss/loading-placeholder";
|
|
</style>
|