{"id":15946504,"url":"https://github.com/knowler/custom-element-lifecycle-element","last_synced_at":"2025-04-03T22:26:39.159Z","repository":{"id":235538912,"uuid":"732485482","full_name":"knowler/custom-element-lifecycle-element","owner":"knowler","description":"A custom element for learning about the lifecycle of custom elements","archived":false,"fork":false,"pushed_at":"2023-12-16T20:39:19.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T10:29:13.902Z","etag":null,"topics":["custom-elements","web-components"],"latest_commit_sha":null,"homepage":"https://knowler.github.io/custom-element-lifecycle-element/demo","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/knowler.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}},"created_at":"2023-12-16T20:38:35.000Z","updated_at":"2024-06-27T14:34:15.000Z","dependencies_parsed_at":"2024-04-23T19:48:36.297Z","dependency_job_id":null,"html_url":"https://github.com/knowler/custom-element-lifecycle-element","commit_stats":null,"previous_names":["knowler/custom-element-lifecycle-element"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fcustom-element-lifecycle-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fcustom-element-lifecycle-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fcustom-element-lifecycle-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fcustom-element-lifecycle-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knowler","download_url":"https://codeload.github.com/knowler/custom-element-lifecycle-element/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247087858,"owners_count":20881474,"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":["custom-elements","web-components"],"created_at":"2024-10-07T09:22:08.474Z","updated_at":"2025-04-03T22:26:39.136Z","avatar_url":"https://github.com/knowler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom Element Lifecycle Element\n\nThis `\u003ccustom-element-lifecycle\u003e` element is purely to demonstrate when different points in a custom element’s lifecycle occur. [View the demo](https://knowler.github.io/custom-element-lifecycle-element/demo), open the console, and watch the log.\n\n## Defining\n\nYou can define it the standard way or use the static `define()` method:\n\n```javascript\nimport { CustomElementLifecycleElement } from \"https://esm.sh/gh/knowler/custom-element-lifecycle-element/custom-element-lifecycle-element.js?raw\";\n\nCustomElementLifecycleElement.define();\n```\n\n## Usage\nJust add the element to the page. It visually doesn’t do anything. It’s mainly valuable to watch in the console. Try adding attributes to it, moving it into a form, etc.\n\n```html\n\u003ccustom-element-lifecycle\u003e\u003c/custom-element-lifecycle\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowler%2Fcustom-element-lifecycle-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknowler%2Fcustom-element-lifecycle-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowler%2Fcustom-element-lifecycle-element/lists"}