How to call Loader on version 0.15.1

  • Hi,
    I use quasar version 0.15.1 but I can not call Loader for show loading

  • Did you mean on loading of buttons? If so, remove the loader property on q-btn (if it exists, because it is required in 0.14.9) and add a loading property bound on a data variable like this:

    <q-btn @click="btnLoading = !btnLoading" :loading="btnLoading">
      <q-spinner-hourglass slot="loading"/>
    data () {
      return () {
        btnLoading: false

Log in to reply