{"id":18522998,"url":"https://github.com/avine/jquery-skeleton","last_synced_at":"2025-04-09T11:31:25.064Z","repository":{"id":120339981,"uuid":"94541769","full_name":"avine/jquery-skeleton","owner":"avine","description":"Show skeleton screen during asynchronous data loading","archived":false,"fork":false,"pushed_at":"2017-12-11T21:31:06.000Z","size":53,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T05:13:13.652Z","etag":null,"topics":["css"],"latest_commit_sha":null,"homepage":"https://avine.github.io/jquery-skeleton/","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/avine.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-16T12:28:03.000Z","updated_at":"2023-08-04T10:11:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"1fd3133a-111f-4a48-bd4b-9b1ee0a0b5ba","html_url":"https://github.com/avine/jquery-skeleton","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/avine%2Fjquery-skeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avine%2Fjquery-skeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avine%2Fjquery-skeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avine%2Fjquery-skeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avine","download_url":"https://codeload.github.com/avine/jquery-skeleton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248031351,"owners_count":21036384,"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":["css"],"created_at":"2024-11-06T17:33:50.274Z","updated_at":"2025-04-09T11:31:25.059Z","avatar_url":"https://github.com/avine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jquery-skeleton\nShow skeleton screen during asynchronous data loading\n\n### Usage\n\n#### Html fragment:\n\n```html\n\u003carticle class=\"wrapper\"\u003e\n  \u003cheader\u003e\u003c/header\u003e\n  \u003cmain\u003e\u003c/main\u003e\n\u003c/article\u003e\n```\n\n#### jQuery plugin:\n\n```javascript\n$('.wrapper').avnSkeleton({\n  cssPrefix: 'avn-skeleton',\n  header: {\n    selector: '\u003e header',\n    lines: 2,\n    icon: true,\n    loader: true\n  },\n  main: {\n    selector: '\u003e main',\n    paragraphs: 3,\n    lines: 4\n  }\n});\n```\n\n#### Plugin methods:\n\n```javascript\n// Remove the skeleton when real content is available\n$('.wrapper').avnSkeleton('remove');\n\n// Display again the skeleton\n$('.wrapper').avnSkeleton('display');\n```\n\n### Installation and build\n\n```shell\nnpm install\nnpm run build\n```\n\n### Open a local server\n\n```shell\nnpm start\n```\n\n### Screenshot\n\n![Skeleton screen](./screenshot.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favine%2Fjquery-skeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favine%2Fjquery-skeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favine%2Fjquery-skeleton/lists"}