
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
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
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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.