
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
angular-imglazyload
Advanced tools
#angular-lazyload
angular-imglazyload 可以做到让图片出现在可视范围内在去加载,避免不必要的请求克隆项目到本地
git clone https://github.com/angular-directive/angular-lazyload.git
要跑demo环境要求
node , bower , npm , gulp
安装
npm install && bower install
运行
gulp serve
###html
<body ng-app="demo" ng-controller="demoCtro" class="row text-center">
<div class="content">
<img src="" ng-repeat="item in imgs track by $index" data-ui-lazyload="{{your img url}}" />
</div>
</body>
###js
// 在你的module里添加lazyload依赖就好
var app = angular.module('demo' , ['lazyload']);
@febobo
FAQs
基于angular扩展的图片懒加载指令
The npm package angular-imglazyload receives a total of 5 weekly downloads. As such, angular-imglazyload popularity was classified as not popular.
We found that angular-imglazyload 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.