Update README.md

This commit is contained in:
Nicco 2020-12-20 10:23:06 +01:00 committed by GitHub
parent 0aeaba6aab
commit e4c34737d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,9 +100,17 @@ If you are using sapper you can initialize it once in your root `_layout.svelte`
## 🤓 Key Concepts ## 🤓 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` ### `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. 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.