{"id":22879332,"url":"https://github.com/anthinkingcoder/lazyload","last_synced_at":"2025-07-23T08:05:42.221Z","repository":{"id":96074765,"uuid":"124029762","full_name":"anthinkingcoder/lazyload","owner":"anthinkingcoder","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-08T06:52:09.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T09:32:00.330Z","etag":null,"topics":["a"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthinkingcoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-06T06:10:12.000Z","updated_at":"2018-12-12T10:30:41.000Z","dependencies_parsed_at":"2023-04-04T01:32:03.592Z","dependency_job_id":null,"html_url":"https://github.com/anthinkingcoder/lazyload","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anthinkingcoder/lazyload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthinkingcoder%2Flazyload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthinkingcoder%2Flazyload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthinkingcoder%2Flazyload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthinkingcoder%2Flazyload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthinkingcoder","download_url":"https://codeload.github.com/anthinkingcoder/lazyload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthinkingcoder%2Flazyload/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266640830,"owners_count":23960809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["a"],"created_at":"2024-12-13T16:38:57.205Z","updated_at":"2025-07-23T08:05:41.848Z","avatar_url":"https://github.com/anthinkingcoder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lazyload\nuse IntersectionObserver Api to implement lazyload, IntersectionObserver only support chrome,\nif not support intersectionObserver,please use [IntersectionObserver polyfill](https://github.com/w3c/IntersectionObserver/tree/master/polyfill)\n\n\n## option\n```js\nlet options = {\n  root: null,\n  rootMargin: '0% 0%',\n  threshold: 0,\n  selector: '[data-src]'\n}\n```\n\n## Usage\n```js\n  import Lazyload from 'lazyload'\n  Lazyload({\n    selector: '[data-src]'\n  })\n  \n```\n\n## example\nplease see /demo/lazyloadDemo.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthinkingcoder%2Flazyload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthinkingcoder%2Flazyload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthinkingcoder%2Flazyload/lists"}