Skip to content

QInfiniteScroll #9337

Discussion options

You must be logged in to vote
<q-infinite-scroll @load="onLoad" :offset="250">
      <div class="row justify-start">
        <div
          class="col-xs-12 col-sm-6 col-md-4 col-lg-3 q-py-md q-px-sm"
          v-for="(c, index) in cards"
          :key="index"
        >
          <div class="row justify-center">
            <CustomCard :card-data="c"/>
          </div>
        </div>
      </div>
      <template v-slot:loading>
        <div class="row justify-center q-my-md">
          <q-spinner-dots color="white" size="40px"></q-spinner-dots>
        </div>
      </template>
    </q-infinite-scroll>

Withdrawing, rewrote as above and this works fine.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rstoenescu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant