1.0.2 • Published 6 years ago

lazy-loader-puge v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

LazyLoader

安装

npm i -save lazy-loader-puge
或
yarn add lazy-loader-puge

使用

<template lang="pug">
  .panel-item
    LazyLoader.lazy
      img(:src="'./static/assets/thumbnails/' + chartData.id + '.png'")
</template>

<script>
import LazyLoader from 'lazy-loader-puge'
export default {
  components: {
    LazyLoader
  }
}
</script>

<style lang='less' scoped>
  .lazy {
    width: 200px;
    height: 200px;
  }
</style>
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago