Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loading start never call #519

Closed
Gu3 opened this issue Aug 11, 2021 · 1 comment
Closed

loading start never call #519

Gu3 opened this issue Aug 11, 2021 · 1 comment

Comments

@Gu3
Copy link

Gu3 commented Aug 11, 2021

Hi !
It's seems that's the start method of the loading bar was never called, only the finish or fail method.
I made a custom loading bar, but It's seems the same for a traditional loading bar

for example :

<template>
  <v-overlay :value="loading" class="loading-page">
    <v-progress-circular
      indeterminate
      size="64"
    ></v-progress-circular>
  </v-overlay>
</template>

<script>
  export default {
    data: () => ({
      loading: false
    }),
    methods: {
      set(){
      --- Edit : that's work ---- 
      this.loading = true
      --- Edit ---- 
        return true
      },
      start() {
        console.log('ok')
        this.loading = true
      },
      finish() {
        console.log('ko')
        this.loading = false
      }
    }
  }
</script>

"OK" was never printed, but "KO" was...
Do I miss some point ?
Thanks you !

@Gu3
Copy link
Author

Gu3 commented Aug 12, 2021

My bad, I didn't see the set method... Maybe some documentation about it would be interesting :)
Cheers.

@Gu3 Gu3 closed this as completed Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant