{"id":19092513,"url":"https://github.com/zachsaucier/asset-loading-effects","last_synced_at":"2025-07-22T21:05:58.803Z","repository":{"id":32712739,"uuid":"36302368","full_name":"ZachSaucier/Asset-Loading-Effects","owner":"ZachSaucier","description":"Loading effects for assets including some built in animated reveals","archived":false,"fork":false,"pushed_at":"2025-02-22T20:11:39.000Z","size":10596,"stargazers_count":104,"open_issues_count":0,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-19T08:11:21.332Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZachSaucier.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":"2015-05-26T14:43:53.000Z","updated_at":"2025-02-22T20:11:43.000Z","dependencies_parsed_at":"2025-03-04T08:00:51.176Z","dependency_job_id":"ad7e4202-1738-4826-9ea6-95684546c5c9","html_url":"https://github.com/ZachSaucier/Asset-Loading-Effects","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZachSaucier/Asset-Loading-Effects","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZachSaucier%2FAsset-Loading-Effects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZachSaucier%2FAsset-Loading-Effects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZachSaucier%2FAsset-Loading-Effects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZachSaucier%2FAsset-Loading-Effects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZachSaucier","download_url":"https://codeload.github.com/ZachSaucier/Asset-Loading-Effects/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZachSaucier%2FAsset-Loading-Effects/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266572542,"owners_count":23950038,"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-22T02:00:09.085Z","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":[],"created_at":"2024-11-09T03:20:04.466Z","updated_at":"2025-07-22T21:05:58.780Z","avatar_url":"https://github.com/ZachSaucier.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/zachsaucier"],"categories":[],"sub_categories":[],"readme":"Asset loading effects\n=====================\n\nThis is a library to show the loading progress of given assets and reveal them using various animations. Please give feedback, report bugs, and propose new loader ideas!\n\n[Read about how it was made](https://zachsaucier.com/blog/asset-loading-effects/)\n\n![Asset loading effects](https://github.com/user-attachments/assets/24b81f4a-70b9-4bd2-a3ab-f38e9e403724)\n\n\n#### Effect demos:\n- [Circular](https://zachsaucier.github.io/Asset-Loading-Effects/)\n- [Sqare](https://zachsaucier.github.io/Asset-Loading-Effects/index2.html)\n- [Linear with shadow](https://zachsaucier.github.io/Asset-Loading-Effects/index3.html) (Demos a video being loaded)\n- [Linear](https://zachsaucier.github.io/Asset-Loading-Effects/index4.html)\n- [Diagonal](https://zachsaucier.github.io/Asset-Loading-Effects/index5.html)\n- [Fill](https://zachsaucier.github.io/Asset-Loading-Effects/index6.html)\n- [Corner](https://zachsaucier.github.io/Asset-Loading-Effects/index7.html)\n\n## How to use:\n\n1. Include the necessary files. Right now that means you need to include the 3 required JS files and the CSS\n2. Apply the `.ale` class to all elements you want to use a loading effect on.\n3. Declare the loader type using `data-ale-type`\n4. Declare the source(s) for the element using `data-ale-src`. For a secondary (backup) source, use `data-ale-src-backup`.\n5. If it's a video, also declare `data-ale-is-vid=true`.\n\nImage example:\n\n    \u003cdiv class=\"ale\" data-ale-type=\"diagonal\" data-ale-src=\"/img/url.jpg\"\u003e\n\nVideo example:\n\n\t\u003cdiv class=\"ale\" data-ale-type=\"diagonal\" data-ale-src=\"/vid/vidFile.mp4\" data-ale-src-backup=\"/vid/backupVidFile.mpeg\" data-ale-is-vid=true\u003e\n\nPlease feel free to make and add your own effects and remove effects you're not using in your project! I'd love to hear suggestions for other loading effects. Understanding [how it's made](https://zachsaucier.com/blog/asset-loading-effects/) will help you if you're seeking to make your own effects.\n\n___\n\n## Support\n\nDid you find this repo useful? I'd really appreciate it if you would consider buying me a coffee!\n\n\u003ca href=\"https://www.buymeacoffee.com/zachsaucier\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/arial-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachsaucier%2Fasset-loading-effects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzachsaucier%2Fasset-loading-effects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachsaucier%2Fasset-loading-effects/lists"}