Skip to content

Instantly share code, notes, and snippets.

@mekhami
Created May 12, 2018 16:09
Show Gist options
  • Save mekhami/9b5aea489772dfa13c80aff911ab4687 to your computer and use it in GitHub Desktop.
Save mekhami/9b5aea489772dfa13c80aff911ab4687 to your computer and use it in GitHub Desktop.
<graphql-query :query="query">
<template slot-scope="{ items: samples }">
<sample-table :samples="samples"></sample-table>
<infinite-loading
ref="infiniteLoading"
v-if="samplesLoaded"
@infinite="infiniteHandler"
spinner="waveDots"
>
<span slot="no-more"><!-- empty --></span>
<span slot="no-results">No results</span>
</infinite-loading>
</template>
</graphql-query>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment