{"id":15983300,"url":"https://github.com/alicewriteswrongs/custom-element-internals","last_synced_at":"2025-04-04T20:32:45.463Z","repository":{"id":180496562,"uuid":"665232354","full_name":"alicewriteswrongs/custom-element-internals","owner":"alicewriteswrongs","description":"ElementInternals and friends","archived":false,"fork":false,"pushed_at":"2024-06-15T17:43:33.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T05:13:26.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://custom-element-internals.vercel.app/","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/alicewriteswrongs.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":"2023-07-11T18:31:43.000Z","updated_at":"2024-06-15T17:43:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"d1ff6d98-5a44-4f9c-80a4-cb466766b6ba","html_url":"https://github.com/alicewriteswrongs/custom-element-internals","commit_stats":null,"previous_names":["alicewriteswrongs/custom-element-internals"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alicewriteswrongs%2Fcustom-element-internals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alicewriteswrongs%2Fcustom-element-internals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alicewriteswrongs%2Fcustom-element-internals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alicewriteswrongs%2Fcustom-element-internals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alicewriteswrongs","download_url":"https://codeload.github.com/alicewriteswrongs/custom-element-internals/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247247435,"owners_count":20907967,"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-10-08T01:41:34.914Z","updated_at":"2025-04-04T20:32:45.438Z","avatar_url":"https://github.com/alicewriteswrongs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElementInternals experimentation\n\nThis repo holds a simple, no-build example of using\n[ElementInternals](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals)\nto implement a simple form control which participates in the form around it,\nsetting validation state and things like that. It's intentionally pretty\nminimal to just serve as a tool for documenting and explaining how this works,\nand is heavily commented.\n\nYou can check it out online [here](https://custom-element-internals.vercel.app/) or\n'run' it locally by doing:\n\n```sh\nnpm i\nnpm start\n```\n\nThis just starts a simple http serve in the directory, there's no build step\nbecause this is just HTML and JS.\n\nIn the example the 'submit' button will log the current state of the form to\nthe console so you can check it out. Try inspecting the element, getting a\nreference to the custom element and looking at its properties and methods, etc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falicewriteswrongs%2Fcustom-element-internals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falicewriteswrongs%2Fcustom-element-internals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falicewriteswrongs%2Fcustom-element-internals/lists"}