{"id":21565142,"url":"https://github.com/cfware/shadow-element","last_synced_at":"2025-03-18T05:17:31.580Z","repository":{"id":57101028,"uuid":"158740335","full_name":"cfware/shadow-element","owner":"cfware","description":"My uhtml based shadow element","archived":false,"fork":false,"pushed_at":"2023-10-17T03:44:32.000Z","size":157,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T16:41:36.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/cfware.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-11-22T18:59:10.000Z","updated_at":"2022-08-13T16:03:18.000Z","dependencies_parsed_at":"2025-01-24T11:43:59.206Z","dependency_job_id":"a0a32126-a2bd-48af-b2b3-d1f809cb3527","html_url":"https://github.com/cfware/shadow-element","commit_stats":null,"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fshadow-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fshadow-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fshadow-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fshadow-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfware","download_url":"https://codeload.github.com/cfware/shadow-element/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244160055,"owners_count":20408021,"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-11-24T10:18:33.414Z","updated_at":"2025-03-18T05:17:31.561Z","avatar_url":"https://github.com/cfware.png","language":"JavaScript","readme":"# @cfware/shadow-element [![NPM Version][npm-image]][npm-url]\n\nMy uhtml based shadow element\n\n## Usage\n\nThis module makes use of public class fields.\n\n```js\nimport ShadowElement, {html, template, css, adoptedStyleSheets, define} from '@cfware/shadow-element';\n\nclass MyElement extends ShadowElement {\n\tstatic [adoptedStyleSheets] = [\n\t\tcss`\n\t\t\t:host {\n\t\t\t\tbackground: blue;\n\t\t\t}\n\t\t`\n\t];\n\n\tget [template]() {\n\t\treturn html`I'm blue`;\n\t}\n}\n\nMyElement[define]('my-element');\n```\n\n\n[npm-image]: https://img.shields.io/npm/v/@cfware/shadow-element.svg\n[npm-url]: https://npmjs.org/package/@cfware/shadow-element\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfware%2Fshadow-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfware%2Fshadow-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfware%2Fshadow-element/lists"}