{"id":16105430,"url":"https://github.com/dinbtechit/angular-elements","last_synced_at":"2026-01-29T14:04:18.407Z","repository":{"id":107166474,"uuid":"513646809","full_name":"dinbtechit/angular-elements","owner":"dinbtechit","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-13T19:29:21.000Z","size":228,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T08:57:45.155Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/dinbtechit.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":"2022-07-13T19:29:16.000Z","updated_at":"2022-07-13T19:29:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea53288c-e4d7-4aeb-bff0-e5e46704d6a6","html_url":"https://github.com/dinbtechit/angular-elements","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/dinbtechit%2Fangular-elements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Fangular-elements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Fangular-elements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Fangular-elements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinbtechit","download_url":"https://codeload.github.com/dinbtechit/angular-elements/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426985,"owners_count":20937197,"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-09T19:09:33.922Z","updated_at":"2026-01-29T14:04:13.347Z","avatar_url":"https://github.com/dinbtechit.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AngularElements\n\nThis is a sample project which demonstrates angular elements in Angular 13.\n\n\n## Build Angular Elements\n```bash\nnpm run build-package-elements\ncd vanilla-js\n# open index.html in chrome browser \n```\nin `index.html` now we could use angualar tags `ct-click-tracker` in an external file\n```html\n\u003c!--include the dist js--\u003e\n\u003cscript src=\"../dist/ct-element.js\"\u003e\u003c/script\u003e\n\n\u003cct-click-tracker step=\"5\"\u003e\u003c/ct-click-tracker\u003e\n\n\u003cscript\u003e\n  const ctElm = document.querySelector('ct-click-tracker');\n  ctElm.addEventListener('increase', (event) =\u003e {\n    console.log(event.detail);\n  });\n\u003c/script\u003e\n```\n\n----\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinbtechit%2Fangular-elements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinbtechit%2Fangular-elements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinbtechit%2Fangular-elements/lists"}