From 24775910bde64d25c8ca97bf947e07ed85b77350 Mon Sep 17 00:00:00 2001 From: Andrea Verlicchi Date: Fri, 15 May 2020 17:30:37 +0200 Subject: [PATCH] Removed delay_load recipe --- README.md | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/README.md b/README.md index 56c58daf..c9d2fef8 100644 --- a/README.md +++ b/README.md @@ -488,27 +488,6 @@ var myLazyLoad = new LazyLoad({ [DEMO](https://verlok.github.io/lazyload/demos/cancel_on_exit.html) | [SOURCE](https://github.com/verlok/lazyload/blob/master/demos/cancel_on_exit.html) | [API](#-api) -### Delay loading - -> 💡 **Use case**: to start loading elements that stayed inside the viewport for a given amount of time. - -HTML - -```html -A lazy image -``` - -Javascript - -```js -var myLazyLoad = new LazyLoad({ - elements_selector: ".lazy", - load_delay: 300 //adjust according to use case -}); -``` - -[DEMO](https://verlok.github.io/lazyload/demos/delay.html) | [SOURCE](https://github.com/verlok/lazyload/blob/master/demos/delay.html) | [API](#-api) - ### Lazy functions > 💡 **Use case**: when you want to execute arbitrary scripts or functions when given elements enter the viewport