Skip to content

a-salimkhanov/Quasar-Lazy-Load-Image-Component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Quasar Lazy Load Image Component (with transition on image load)

Usage example:

<template>
  <lazyImg
    v-for="item in items"
    :key="item.id"
    :title="item.name"
    :spanClass="'q-mx-xs'"
    :imgStyle="'height: 40px; width: auto'"
    :src="item.image" />
</template>

<script>
export default {
  name: 'myItems',
  components: {
    lazyImg: () => import('components/LazyImage')
  },
  props: ['items']
}
</script>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages