
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
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 27 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.