{"_id":"@duckafire/lazy-loading-js","_rev":"9-4c5b6e106d5789769ed22582545e1fea","name":"@duckafire/lazy-loading-js","dist-tags":{"latest":"3.0.2"},"versions":{"2.0.2":{"name":"@duckafire/lazy-loading-js","version":"2.0.2","keywords":["client","html","images","web","front-end","optimization","lazy","loading","lazy-loading"],"author":{"name":"duckafire"},"license":"Zlib","_id":"@duckafire/lazy-loading-js@2.0.2","maintainers":[{"name":"duckafire","email":"duckafire@gmail.com"}],"homepage":"https://github.com/duckafire/lazy-loading-js#readme","bugs":{"url":"https://github.com/duckafire/lazy-loading-js/issues"},"dist":{"shasum":"1fa6dff3c86817f8a0bdaf48e0b73c18f3b756cb","tarball":"https://registry.npmjs.org/@duckafire/lazy-loading-js/-/lazy-loading-js-2.0.2.tgz","fileCount":4,"integrity":"sha512-lX+LLoQ9yVhRWzIO3F5s6lUbLI1IXcDA6Bn/BN/icdK9zhVyAAplp2VRyfBBJNSjylQ38IujSJT6gZToJnfmMQ==","signatures":[{"sig":"MEYCIQC1XUF6CxJ5dck/9NG+MtOVgxdxbwLl2Om4fx2QCsoOpgIhAN9qb7ih4JmgS+BgXcO7Zfh3RFwxwdGsvcvw8A2gGAd5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10282},"gitHead":"7f7fcfce9274b08e21973ad0b54b73e78fd671e0","_npmUser":{"name":"duckafire","email":"duckafire@gmail.com"},"repository":{"url":"git+https://github.com/duckafire/lazy-loading-js.git","type":"git"},"_npmVersion":"10.8.2","description":"Simple lazy loading algorithm for websites front-end.","directories":{},"_nodeVersion":"18.20.8","custom-fields":{"cloud-repostories":["https://github.com/duckafire/lazy-loading-js.git","https://gitlab.com/duckafire/lazy-loading-js.git","https://npmjs.com/package/@duckafire/lazy-loading-js.git"]},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/lazy-loading-js_2.0.2_1759612605663_0.02044066934056321","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.2-1":{"name":"@duckafire/lazy-loading-js","version":"2.0.2-1","keywords":["client","html","images","web","front-end","optimization","lazy","loading","lazy-loading"],"author":{"name":"duckafire"},"license":"Zlib","_id":"@duckafire/lazy-loading-js@2.0.2-1","maintainers":[{"name":"duckafire","email":"duckafire@gmail.com"}],"homepage":"https://github.com/duckafire/lazy-loading-js#readme","bugs":{"url":"https://github.com/duckafire/lazy-loading-js/issues"},"dist":{"shasum":"790aa2016670bc5dc257a47a7d79c3cc0baa6538","tarball":"https://registry.npmjs.org/@duckafire/lazy-loading-js/-/lazy-loading-js-2.0.2-1.tgz","fileCount":4,"integrity":"sha512-W9iqNbpbsh0UWr1s93unswrzU/SupwITnSO+iYReJguQSm3RS//s28h2K+FrGMShw3kM6DHmHnVLbpBx/oK9Xw==","signatures":[{"sig":"MEUCIDP5FcpDAav7DY2aCej10+/JfvLwOWlaxOQpSlPx0t4TAiEAuUz2hQjzbkK8oLNi3JMD2mLbbIb29dTDfT0JwEhHGWI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10502},"gitHead":"7c71fd75f0420de8746c8429832378212ff9cb4c","scripts":{"compress":"for file in ./src/*; do npx terser \"$file\" -o \"./lib/$(basename -- \"${file%.js}\").min.js\" --compress --mangle; done"},"_npmUser":{"name":"duckafire","email":"duckafire@gmail.com"},"repository":{"url":"git+https://github.com/duckafire/lazy-loading-js.git","type":"git"},"_npmVersion":"10.8.2","description":"Simple lazy loading algorithm for websites front-end.","directories":{},"_nodeVersion":"18.20.8","custom-fields":{"cloud-repostories":["https://github.com/duckafire/lazy-loading-js.git","https://gitlab.com/duckafire/lazy-loading-js.git","https://npmjs.com/package/@duckafire/lazy-loading-js.git"]},"_hasShrinkwrap":false,"devDependencies":{"terser":"^5.43.1"},"_npmOperationalInternal":{"tmp":"tmp/lazy-loading-js_2.0.2-1_1759660554785_0.02085020203812915","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.2-2":{"name":"@duckafire/lazy-loading-js","version":"2.0.2-2","keywords":["client","html","images","web","front-end","optimization","lazy","loading","lazy-loading"],"author":{"name":"duckafire"},"license":"Zlib","_id":"@duckafire/lazy-loading-js@2.0.2-2","maintainers":[{"name":"duckafire","email":"duckafire@gmail.com"}],"homepage":"https://github.com/duckafire/lazy-loading-js#readme","bugs":{"url":"https://github.com/duckafire/lazy-loading-js/issues"},"dist":{"shasum":"08019b9afb61b4d7b9664122d2adfc851fbc7651","tarball":"https://registry.npmjs.org/@duckafire/lazy-loading-js/-/lazy-loading-js-2.0.2-2.tgz","fileCount":5,"integrity":"sha512-rgWuodS3Voc/+wwdqbhPA2aJkL6ZM94RRmOeLB906tNztRRDK1PW5X+lwgmeLvj8I0jK1INU43Zc0FVyHWC7Zg==","signatures":[{"sig":"MEYCIQD1oKMJvhRXzjV6i1gT67QSUaKFVSlCZdwdLx3LIW0fcwIhAIDHdD9yUlGVWRG8hJd1Gbc5MHkdDmzVx94YBxq894ve","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12497},"gitHead":"46ef604acc368445b8dc7da108037e4496682eff","scripts":{"compress":"for file in ./src/*; do npx terser \"$file\" -o \"./lib/$(basename -- \"${file%.js}\").min.js\" --compress --mangle; done"},"_npmUser":{"name":"duckafire","email":"duckafire@gmail.com"},"repository":{"url":"git+https://github.com/duckafire/lazy-loading-js.git","type":"git"},"_npmVersion":"10.8.2","description":"Simple lazy loading algorithm for websites front-end.","directories":{},"_nodeVersion":"18.20.8","custom-fields":{"cloud-repostories":["https://github.com/duckafire/lazy-loading-js.git","https://gitlab.com/duckafire/lazy-loading-js.git","https://npmjs.com/package/@duckafire/lazy-loading-js.git"]},"_hasShrinkwrap":false,"devDependencies":{"terser":"^5.43.1"},"_npmOperationalInternal":{"tmp":"tmp/lazy-loading-js_2.0.2-2_1759660894162_0.4413730986825184","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.2-3":{"name":"@duckafire/lazy-loading-js","version":"2.0.2-3","keywords":["client","html","images","web","front-end","optimization","lazy","loading","lazy-loading"],"author":{"name":"duckafire"},"license":"Zlib","_id":"@duckafire/lazy-loading-js@2.0.2-3","maintainers":[{"name":"duckafire","email":"duckafire@gmail.com"}],"homepage":"https://github.com/duckafire/lazy-loading-js#readme","bugs":{"url":"https://github.com/duckafire/lazy-loading-js/issues"},"dist":{"shasum":"35ceb168b9f4f971f8514285292e33ed20aeaad5","tarball":"https://registry.npmjs.org/@duckafire/lazy-loading-js/-/lazy-loading-js-2.0.2-3.tgz","fileCount":4,"integrity":"sha512-lXgic6qISwzRoXYNU8eOo0VYIVvlw7625raBmq14td1RU329B0sSnbCJ2nwtIda9O0mKGUrGLWOT0gjZB3IhVA==","signatures":[{"sig":"MEYCIQCAdDSV0UKkRIuaR1vx3OGpNROF8umK873zVwg3BVaYUgIhAPKB3ruW9j8p+vKydStHQdU+zNYu5gvQv6TJOFOmnZdY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10514},"gitHead":"6e55edead66cdb9f9b527ca8c0180fa8eefb3fd5","scripts":{"compress":"for file in ./src/*; do npx terser \"$file\" -o \"./lib/$(basename -- \"${file%.js}\").min.js\" --compress --mangle; done"},"_npmUser":{"name":"duckafire","email":"duckafire@gmail.com"},"repository":{"url":"git+https://github.com/duckafire/lazy-loading-js.git","type":"git"},"_npmVersion":"10.8.2","description":"Simple lazy loading algorithm for websites front-end.","directories":{},"_nodeVersion":"18.20.8","custom-fields":{"cloud-repostories":["https://github.com/duckafire/lazy-loading-js.git","https://gitlab.com/duckafire/lazy-loading-js.git","https://npmjs.com/package/@duckafire/lazy-loading-js.git"]},"_hasShrinkwrap":false,"devDependencies":{"terser":"^5.43.1"},"_npmOperationalInternal":{"tmp":"tmp/lazy-loading-js_2.0.2-3_1764788746647_0.5183825832294207","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.2-4":{"name":"@duckafire/lazy-loading-js","version":"2.0.2-4","keywords":["client","html","images","web","front-end","optimization","lazy","loading","lazy-loading"],"author":{"name":"duckafire"},"license":"Zlib","_id":"@duckafire/lazy-loading-js@2.0.2-4","maintainers":[{"name":"duckafire","email":"duckafire@gmail.com"}],"homepage":"https://github.com/duckafire/lazy-loading-js#readme","bugs":{"url":"https://github.com/duckafire/lazy-loading-js/issues"},"dist":{"shasum":"e420b706243d35eab62a5e779c5995f65a79c13f","tarball":"https://registry.npmjs.org/@duckafire/lazy-loading-js/-/lazy-loading-js-2.0.2-4.tgz","fileCount":5,"integrity":"sha512-1vCNwmXK3mXfPwXgie9+kMrfRN5ZldeZ8SYRFnvl1t1bTlCycv4NVQ+xpKakd5p3yPb+dghHq7lAlxoE1vcNmA==","signatures":[{"sig":"MEYCIQCSHlYkKmYzqrfSV3slekd2PVvg5E6D1seVVPuk2nXelgIhAIJdF12j9RbpQeoRrSf1hT+0VhNoB4tw9brdNLQxvLbc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12499},"gitHead":"8f47c42408943ce6877bb81910d304fa7daa29c1","scripts":{"compress":"for file in ./src/*; do npx terser \"$file\" -o \"./lib/$(basename -- \"${file%.js}\").min.js\" --compress --mangle; done"},"_npmUser":{"name":"duckafire","email":"duckafire@gmail.com"},"repository":{"url":"git+https://github.com/duckafire/lazy-loading-js.git","type":"git"},"_npmVersion":"10.8.2","description":"Simple lazy loading algorithm for websites front-end.","directories":{},"_nodeVersion":"18.20.8","custom-fields":{"cloud-repostories":["https://github.com/duckafire/lazy-loading-js.git","https://gitlab.com/duckafire/lazy-loading-js.git","https://npmjs.com/package/@duckafire/lazy-loading-js.git"]},"_hasShrinkwrap":false,"devDependencies":{"terser":"^5.43.1"},"_npmOperationalInternal":{"tmp":"tmp/lazy-loading-js_2.0.2-4_1764789382285_0.15044918547359742","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.0":{"name":"@duckafire/lazy-loading-js","version":"3.0.0","keywords":["client","html","images","web","front-end","optimization","lazy","loading","lazy-loading"],"author":{"name":"duckafire"},"license":"Zlib","_id":"@duckafire/lazy-loading-js@3.0.0","maintainers":[{"name":"duckafire","email":"duckafire@gmail.com"}],"homepage":"https://github.com/duckafire/lazy-loading-js#readme","bugs":{"url":"https://github.com/duckafire/lazy-loading-js/issues"},"dist":{"shasum":"be2fbf20e9ad74120ba8a393d6e53b4cce569430","tarball":"https://registry.npmjs.org/@duckafire/lazy-loading-js/-/lazy-loading-js-3.0.0.tgz","fileCount":4,"integrity":"sha512-Eg4f6l9qOg/OnwgLLVvhqRTosyGJ1cHwx7+rDxiJ+uEwAaualJP8fdQFwVskAhfT0uGlav/y6DgUFaErOnapZg==","signatures":[{"sig":"MEUCICo1FYb6KbcXLybSuXPfv0GUAS1yGfrQ8+otRQuEybDxAiEAw99fxaOdACykPT+SAGFB5Evp57bk/kxN8VXnA4F34mc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11455},"gitHead":"0a8dda27d4a74218cbc710830a0a3dd57fe73886","scripts":{"help":"./scripts.js help","build":"./scripts.js build","clear":"./scripts.js clear","minify":"./scripts.js minify","compile":"./scripts.js compile"},"_npmUser":{"name":"duckafire","email":"duckafire@gmail.com"},"repository":{"url":"git+https://github.com/duckafire/lazy-loading-js.git","type":"git"},"_npmVersion":"10.8.2","description":"Simple, no-dependeces, lazy loading implementation to FrontEnd WEB","directories":{},"_nodeVersion":"18.20.8","custom-fields":{"cloud-repostories":["https://github.com/duckafire/lazy-loading-js","https://gitlab.com/duckafire/lazy-loading-js","https://npmjs.com/package/@duckafire/lazy-loading-js"]},"_hasShrinkwrap":false,"devDependencies":{"terser":"^5.43.1","typescript":"^4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/lazy-loading-js_3.0.0_1766520560345_0.2849843659637441","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.1":{"name":"@duckafire/lazy-loading-js","version":"3.0.1","keywords":["client","html","images","web","front-end","optimization","lazy","loading","lazy-loading"],"author":{"name":"duckafire"},"license":"Zlib","_id":"@duckafire/lazy-loading-js@3.0.1","maintainers":[{"name":"duckafire","email":"duckafire@gmail.com"}],"homepage":"https://github.com/duckafire/lazy-loading-js#readme","bugs":{"url":"https://github.com/duckafire/lazy-loading-js/issues"},"dist":{"shasum":"c075f1572b0e293cb69c0527ead73c4238663e7f","tarball":"https://registry.npmjs.org/@duckafire/lazy-loading-js/-/lazy-loading-js-3.0.1.tgz","fileCount":4,"integrity":"sha512-RRLsguEgmr2C5DyAcUBs43TReannd5NaWOjC+VIImMrJnBOakNbfGkhC43oEuFeAVyHny4rz/qRcTh/K2nQsJA==","signatures":[{"sig":"MEQCIGeCwThW4s5sB4zdz2dQZjCgFGpF258cJlDuYQBuaVfYAiBBlDL/PYw13T5PljxYdWrL8mrZdHUqiCtvNCKghFky7A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11292},"gitHead":"0a8dda27d4a74218cbc710830a0a3dd57fe73886","scripts":{"help":"./scripts.js help","build":"./scripts.js build","clear":"./scripts.js clear","minify":"./scripts.js minify","compile":"./scripts.js compile","publish":"./scripts.js clear && ./scripts.js build && npm publish"},"_npmUser":{"name":"duckafire","email":"duckafire@gmail.com"},"repository":{"url":"git+https://github.com/duckafire/lazy-loading-js.git","type":"git"},"_npmVersion":"10.8.2","description":"Simple, no-dependeces, lazy loading implementation to FrontEnd WEB","directories":{},"_nodeVersion":"18.20.8","custom-fields":{"cloud-repostories":["https://github.com/duckafire/lazy-loading-js","https://gitlab.com/duckafire/lazy-loading-js","https://npmjs.com/package/@duckafire/lazy-loading-js"]},"_hasShrinkwrap":false,"devDependencies":{"terser":"^5.43.1","typescript":"^4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/lazy-loading-js_3.0.1_1766565704946_0.534034635087921","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.2":{"name":"@duckafire/lazy-loading-js","version":"3.0.2","keywords":["client","html","images","web","front-end","optimization","lazy","loading","lazy-loading"],"author":{"name":"duckafire"},"license":"Zlib","_id":"@duckafire/lazy-loading-js@3.0.2","maintainers":[{"name":"duckafire","email":"duckafire@gmail.com"}],"homepage":"https://github.com/duckafire/lazy-loading-js#readme","bugs":{"url":"https://github.com/duckafire/lazy-loading-js/issues"},"dist":{"shasum":"0e9c30831f9e351bcf756682218d74f93d168ca1","tarball":"https://registry.npmjs.org/@duckafire/lazy-loading-js/-/lazy-loading-js-3.0.2.tgz","fileCount":4,"integrity":"sha512-JqtkPwBcKL+MJT3QJOYQJz/JDp6dkaPxkooEFL3DXY0k9grAIijbZCyzPUw54wZOnCxn+W9ybElMksPK9P7vUw==","signatures":[{"sig":"MEYCIQDFYnPxvNRY+1LqXbfA04HeAN+bKBJrflygbAxU/rF4LwIhAK5TGIxO8ovdsYWHmu8bk7VnxxEiE8Qq59wQCGmEMiMg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11345},"gitHead":"5c8b10725d209d6579f531cf7d35f0c23d51a95b","scripts":{"help":"./scripts.js help","build":"./scripts.js build","clear":"./scripts.js clear","minify":"./scripts.js minify","compile":"./scripts.js compile"},"_npmUser":{"name":"duckafire","email":"duckafire@gmail.com"},"repository":{"url":"git+https://github.com/duckafire/lazy-loading-js.git","type":"git"},"_npmVersion":"10.8.2","description":"Simple, no-dependeces, lazy loading implementation to FrontEnd WEB","directories":{},"_nodeVersion":"18.20.8","custom-fields":{"cloud-repostories":["https://github.com/duckafire/lazy-loading-js","https://gitlab.com/duckafire/lazy-loading-js","https://npmjs.com/package/@duckafire/lazy-loading-js"]},"_hasShrinkwrap":false,"devDependencies":{"terser":"^5.43.1","typescript":"^4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/lazy-loading-js_3.0.2_1767364743077_0.1573683202817875","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2025-10-04T21:16:45.571Z","modified":"2026-02-12T18:36:50.721Z","2.0.2":"2025-10-04T21:16:45.873Z","2.0.2-1":"2025-10-05T10:35:54.969Z","2.0.2-2":"2025-10-05T10:41:34.364Z","2.0.2-3":"2025-12-03T19:05:46.842Z","2.0.2-4":"2025-12-03T19:16:22.462Z","3.0.0":"2025-12-23T20:09:20.524Z","3.0.1":"2025-12-24T08:41:45.086Z","3.0.2":"2026-01-02T14:39:03.208Z"},"bugs":{"url":"https://github.com/duckafire/lazy-loading-js/issues"},"author":{"name":"duckafire"},"license":"Zlib","homepage":"https://github.com/duckafire/lazy-loading-js#readme","keywords":["client","html","images","web","front-end","optimization","lazy","loading","lazy-loading"],"repository":{"url":"git+https://github.com/duckafire/lazy-loading-js.git","type":"git"},"description":"Simple, no-dependeces, lazy loading implementation to FrontEnd WEB","maintainers":[{"name":"duckafire","email":"duckafire@gmail.com"}],"readme":"[wiki-lazy-load]: https://en.wikipedia.org/wiki/Lazy_loading \"Wikipedia: Lazy Loading technique\"\n[int-ob]: https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API \"Intersection Observer API\"\n[caiuse-int-ob]: https://caniuse.com/intersectionobserver \"Can I use IntersectionObserver API?\"\n[origin-repo]: https://github.com/gyanprabhat7/LazyLoad.JS \"From GitHub\"\n[int-ob-opt]: https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#creating_an_intersection_observer \"IntersectionObserver constructor options\"\n\n## LazyLoading.js\n\nThis project is a no-dependence library that aims to available simple and light\nimplementations of the [Lazy Loading][wiki-lazy-load] technique to improve the\noptimization of specific elements, objects, and/or components from FrontEnd WEB pages.\nCurrently, it supports:\n\n* Images (`<img/>`).\n\n```html\n<!-- CDN (jsDelivr) URL -->\n<script src=\"https://cdn.jsdelivr.net/npm/@duckafire/lazy-loading-js@3/dist/lazy-loading.min.js\"></script>\n```\n\n> [!IMPORTANT]\n> If [`IntersectionObserver`][int-ob] (**core** of this project) is not available in the\n> client's browser, nothing fallback observer algorithm will be implemented and the\n> high quality image will be attributed to `src`.\n> See more about the availability of this class [here][caniuse-int-ob].\n\n> [!NOTE]\n> This project is a fork from [gyanprabhat7/LazyLoad.JS][origin-repo].\n\n\n\n#### Index\n\n* [LazyLoadingImages](#lazyloadingimages)\n\t* [Element attributes](#element-attributes)\n\t* [Methods](#methods)\n\t\t* [isApiAvailable](#isapiavailable)\n\t\t* [isStarted](#isstarted)\n\t\t* [startToObserve](#starttoobserve)\n\n> [!IMPORTANT]\n> To improve the understanding of this documentation, types was added to \n\n\n\n### LazyLoadingImages\n\n---\n\n* `constructor(query: string, [options: ILLImagesOptions])`\n\t* `query`: query selector used to catch target elements.\n\t* `options`: set of options to customize API behavior.\n\n| Options                            | Default | Description |\n| :--                                | :-:     | :--         |\n| waitToStart: boolean               | false   | it defines API do not have to be started after to create the object. |\n| styleClasses: IStyleClasses        | {}      | set of lists of CSS classes they have to be added/removed to/from the catched elements when the show/hide event occur. |\n| observerOptions: IIOOptions        | {}      | options to `IntersectionObserver` constructor. See [this][int-ob-opt] to get more information about. |\n| useSrcAsFallbackToLazySrc: boolean | true    | if `true`, it defines `src` content is the lazy quality image if `data-lazy` is undefined, else it defines `src` content is the high quality image if `data-high` is undefined. |\n\n---\n\n#### Element attributes\n\n* `data-high`: path of the high quality image. It is optional if\n  `options.useSrcAsFallbackToLazySrc === false`.\n\n* `data-lazy`: path of the lazy quality image. It is optional if\n  `options.useSrcAsFallbackToLazySrc === true`.\n\n* `data-style-high` (optional): comman-separated list formed of CSS styles they will\n  be given to the catched elements when the show/hide event occur.\n\n* `data-style-lazy` (optional): comman-separated list formed of CSS styles they will\n  be given to the catched elements when the show/hide event occur.\n\n#### Methods\n\n##### isApiAvailable\n\n* `isApiAvailable(): boolean`\n\n* Behavior: verify if the API is available.\n* Return: result, in boolean.\n\n---\n\n##### isStarted\n\n* `isStarted(): boolean`\n\n* Behavior: verify if the API algorithm was started.\n* Return: result, in boolean.\n\n---\n\n##### startToObserve\n\n* `startToObserve(): void`\n\n* Behavior: start the API algorithm.\n* Return: none.\n\n> [!NOTE]\n> It prints a *warning* in the console, if API is already started.\n\n---\n","readmeFilename":"README.md"}