{"id":13497524,"url":"https://github.com/iamartyom/ngx-flag-picker","last_synced_at":"2025-03-28T22:31:46.839Z","repository":{"id":35132836,"uuid":"209899281","full_name":"iamartyom/ngx-flag-picker","owner":"iamartyom","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-19T02:07:53.000Z","size":3947,"stargazers_count":15,"open_issues_count":5,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T05:55:46.901Z","etag":null,"topics":["angular","angular10","angular8","angular9","countries","flags","ngx"],"latest_commit_sha":null,"homepage":"https://iamartyom.github.io/ngx-flag-picker/","language":"TypeScript","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/iamartyom.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2019-09-20T23:57:44.000Z","updated_at":"2024-12-18T06:48:51.000Z","dependencies_parsed_at":"2024-01-16T09:56:07.831Z","dependency_job_id":"ef1d2608-9420-48ee-813f-c343cb076499","html_url":"https://github.com/iamartyom/ngx-flag-picker","commit_stats":{"total_commits":96,"total_committers":3,"mean_commits":32.0,"dds":"0.32291666666666663","last_synced_commit":"b8d0c1d18810a3b8910df479f4d185309acb43cc"},"previous_names":["iamartyom/ngx-select-flags"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamartyom%2Fngx-flag-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamartyom%2Fngx-flag-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamartyom%2Fngx-flag-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamartyom%2Fngx-flag-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamartyom","download_url":"https://codeload.github.com/iamartyom/ngx-flag-picker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246110226,"owners_count":20725013,"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":["angular","angular10","angular8","angular9","countries","flags","ngx"],"created_at":"2024-07-31T20:00:32.520Z","updated_at":"2025-03-28T22:31:46.478Z","avatar_url":"https://github.com/iamartyom.png","language":"TypeScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# How to use\n\nAdd a link tag with [flag-icon-css](https://cdnjs.com/libraries/flag-icon-css) library to your index.html file.\n\nAdd **NgxFlagPickerModule** to your module in the import section.\n\nAfter:\n\n```\nimport { Component } from '@angular/core';\n\n@Component({\n  selector: 'app-root',\n  template: `\n    \u003cngx-flag-picker\n      [selectedCountryCode]=\"selectedCountryCode\"\n      [countryCodes]=\"countryCodes\"\n      (changedCountryCode)=\"changeSelectedCountryCode($event)\"\u003e\n    \u003c/ngx-flag-picker\u003e\n    \u003ch1\u003e{{ selectedCountryCode }}\u003c/h1\u003e\n  `\n})\nexport class AppComponent {\n  selectedCountryCode = 'us';\n  countryCodes = ['us', 'lu', 'de', 'bs', 'br', 'pt'];\n\n  changeSelectedCountryCode(value: string): void {\n    this.selectedCountryCode = value;\n  }\n}\n```\n\n## Input parameters:\n\nName | Type\n------------ | -------------\nselectedCountryCode | string\ncountryCodes | string[]\ncustomLabels | Record\\\u003cstring, string\u003e\nshowFlags | boolean\nshowLabels | boolean\nshowArrow | boolean\n\n## Output parameters:\n\nName | Type\n------------ | -------------\nchangedCountryCode | EventEmitter\\\u003cstring\u003e\n\n## [Demo](https://iamartyom.github.io/ngx-flag-picker/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamartyom%2Fngx-flag-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamartyom%2Fngx-flag-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamartyom%2Fngx-flag-picker/lists"}