{"id":13826376,"url":"https://github.com/WebReflection/lazytag","last_synced_at":"2025-07-09T00:33:08.281Z","repository":{"id":65993220,"uuid":"180232688","full_name":"WebReflection/lazytag","owner":"WebReflection","description":"Lazy loading Custom Elements and their styles without even thinking about it.","archived":false,"fork":false,"pushed_at":"2019-06-23T14:27:28.000Z","size":16,"stargazers_count":40,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-15T21:14:12.675Z","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/WebReflection.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}},"created_at":"2019-04-08T21:04:50.000Z","updated_at":"2024-09-02T13:17:32.000Z","dependencies_parsed_at":"2023-07-13T10:00:24.533Z","dependency_job_id":null,"html_url":"https://github.com/WebReflection/lazytag","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Flazytag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Flazytag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Flazytag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Flazytag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebReflection","download_url":"https://codeload.github.com/WebReflection/lazytag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476384,"owners_count":17480215,"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-04T09:01:36.555Z","updated_at":"2024-11-20T05:30:39.457Z","avatar_url":"https://github.com/WebReflection.png","language":"JavaScript","readme":"# lazytag\n\nLazy loading Custom Elements and their styles without even thinking about it.\n\n```html\n\u003cscript\u003e\n// you can have many lazyTag invokes per page\nlazyTag({\n  // an optional *Array* of custom elements names or RegExp\n  // to consider: any other custom element will be ignored\n  only: [/^io-/],\n  // an optional *Array* of custom elements to ignore\n  // if `only` is used, this list is ignored\n  ignore: ['third-parts', 'pre-loaded', /-heresy$/],\n  // the optional JS path where component-name.js is\n  js: './components/js',\n  // the optional CSS path where component.name.css is\n  css: './components/css'\n});\n\u003c/script\u003e\n\u003cmy-component\u003e\n  \u003cmy-sub-component\u003e\n  \u003c/my-sub-component\u003e\n\u003c/my-component\u003e\n```\n\nThe previous example would load automatically `./components/js/my-component.js`, `./components/js/my-sub-component.js`, but also `./components/css/my-component.css` and `./components/css/my-sub-component.css`.\n\n[Live test](https://webreflection.github.io/lazytag/test/).\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWebReflection%2Flazytag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWebReflection%2Flazytag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWebReflection%2Flazytag/lists"}