
Security News
Node.js Moves Toward Stable TypeScript Support with Amaro 1.0
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
vue-lazy-load
Advanced tools
##vue-lazy-load
###插件介绍 最近移动端项目有图片懒加载需求就索性自己写了一个,暂时先用着,以后再优化###使用方法
// 安装插件
npm install vue-lazy-load
// 使用插件
import Vue from 'vue'
import lazyload from 'vue-lazy-load'
Vue.use(lazyload,{
loading: '默认图片',
error: '加载错误图片'
}
)
//使用v-lazy指令
<div v-for="img in list">
<img v-lazy="img">
</div>
###运行demo
npm run dev
FAQs
0.0.7
The npm package vue-lazy-load receives a total of 24 weekly downloads. As such, vue-lazy-load popularity was classified as not popular.
We found that vue-lazy-load demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.