1.0.0 • Published 4 years ago
hzz-image v1.0.0
hzz-image
通用图片展示方案,包含以下功能点:
1、图片加载动画
2、图片报错展示
version
版本号 | 描述 |
---|---|
1.0.0 | 初始版本 |
install
npm i hzz-image -S
quick start
<template>
<hzz-image src="">
</template>
import Vue from 'vue';
import hzzImage from 'hzz-image';
Vue.use(hzzImage);
attributes
参数 | 说明 | 默认值 |
---|---|---|
src | 实际图片地址 | - |
errorImg | 错误图片地址 | error.jpg |
loadImg | 加载图片地址 | load.gif |
author
huzouzou
FAQ
If you have any question. You can contract me with QQ(1321176618
).
1.0.0
4 years ago