From e4c34737d5d02db767b179dfe1d8532a2c489a33 Mon Sep 17 00:00:00 2001 From: Nicco Date: Sun, 20 Dec 2020 10:23:06 +0100 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e806fe..1c8d403 100644 --- a/README.md +++ b/README.md @@ -100,9 +100,17 @@ If you are using sapper you can initialize it once in your root `_layout.svelte` ## 🤓 Key Concepts +### `lazy` + +###### default `true` + +If images should use the [`Intersection Observer API`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) to lazy load. + ### `step` -The `step` property (defaults to `200`) helps reducing the amounts of transformations cloudinary need to perform and less credits being billed to you. +###### default `200` + +The `step` property helps reducing the amounts of transformations cloudinary need to perform and less credits being billed to you. How? Basically whenever we calculate the dynamic size of the image rendered on the DOM we will get very specific numbers depending on the device.