github 原文 https://github.com/Treri/me-lazyload
me-lazyload
angular 的图像资源延迟加载指令
例子(Demo)
演示网站(Demo Site):http://treri.github.io/me-lazyload 这个好像打开有问题
基本用法(Basic Usage)
1. 将me-lazyload.js 依赖注入.( include me-lazyload.js as dependence.)
var app = angular.module('myApp', ['me-lazyload'])
2.将src属性替换为 lazy-src. (instead src with lazy-src.)
网友评论