{"id":13554684,"url":"https://github.com/depthdev/lazyload","last_synced_at":"2025-04-03T07:32:21.232Z","repository":{"id":78984077,"uuid":"44464106","full_name":"depthdev/lazyload","owner":"depthdev","description":"Image, Iframe \u0026 Script Lazy-loader","archived":false,"fork":false,"pushed_at":"2016-02-09T07:01:48.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-11T07:45:35.104Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/depthdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-18T03:23:01.000Z","updated_at":"2018-02-01T00:17:35.000Z","dependencies_parsed_at":"2023-04-29T14:36:20.959Z","dependency_job_id":null,"html_url":"https://github.com/depthdev/lazyload","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depthdev%2Flazyload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depthdev%2Flazyload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depthdev%2Flazyload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depthdev%2Flazyload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/depthdev","download_url":"https://codeload.github.com/depthdev/lazyload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213521382,"owners_count":15599796,"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","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":[],"created_at":"2024-08-01T12:02:52.852Z","updated_at":"2024-11-04T03:31:01.686Z","avatar_url":"https://github.com/depthdev.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"# Lazyload\nImage, Iframe \u0026#38; Script Lazy-loader\n\n\u003cul\u003e\n  \u003cli\u003e1.08 KB minified\u003c/li\u003e\n  \u003cli\u003eNo dependencies\u003c/li\u003e\n  \u003cli\u003ePreloading\u003c/li\u003e\n  \u003cli\u003eCustom attribute/source reference\u003c/li\u003e\n  \u003cli\u003eStrict mode supported\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cp\u003e\u003ca href=\"http://codepen.io/depthdev/pen/xwYXJN\" target=\"_blank\"\u003eDemo\u003c/a\u003e\u003c/p\u003e\n\n\u003cp\u003eUse:\u003c/p\u003e\n\u003cpre\u003e\nnew Lazyload({\n  attr: 'data-src', // Required. Full attribute name. This doubles as the selector AND source for the src attribute.\n  preload: 500 // Required. The distance in pixels from the bottom of the viewport to start loading the next elements src.\n});\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepthdev%2Flazyload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdepthdev%2Flazyload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepthdev%2Flazyload/lists"}