loading animation
This commit is contained in:
@@ -74,10 +74,15 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="flex justify-center">
|
||||
|
||||
<div v-show="loading">
|
||||
<lottie-player src="https://assets9.lottiefiles.com/private_files/lf30_bIUWq7.json" background="transparent" speed="3" style="width: 100px; height: 100px;" loop autoplay></lottie-player>
|
||||
</div>
|
||||
|
||||
<button
|
||||
:disabled="loading != 0"
|
||||
v-show="loading == 0"
|
||||
v-if="moreArticles"
|
||||
@click="fetchNewArticles()"
|
||||
class="ml-4 text-white h-10 flex items-center justify-center px-4 bg-main-link rounded shadow font-medium"
|
||||
@@ -91,6 +96,7 @@
|
||||
|
||||
<script>
|
||||
import * as moment from "moment";
|
||||
|
||||
export default {
|
||||
props: {
|
||||
source: Object
|
||||
|
Reference in New Issue
Block a user