mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 17:35:54 +03:00
[GH-ISSUE #375] Suggestion for new feature - list of flaggs available for javascript #229
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#229
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @slany on GitHub (Jul 5, 2017).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/375
It would be fine creating JavaScript file with all actual flags, where will be code and name of flag.
It can by very useful when anybody need show list of flags (in forms).
@tomlutzenberger commented on GitHub (Jul 6, 2017):
Like a JSON file?
@slany commented on GitHub (Jul 7, 2017):
Yes, it can by JSON file or js file which can be included;
For examle JS file :
lipis={};lipis.flags={};lipis.flags.list=[{key: 'ao', name: 'Angola', continent: 'Africa'},{key: 'bf', name: 'Burkina Faso', continent: 'Africa'},...];@vsternbach commented on GitHub (May 23, 2018):
@slany I am using this package for this, by the way it also provides emoji for each country:
https://github.com/OpenBookPrices/country-data
@maxlibin commented on GitHub (Jun 27, 2018):
@slany
@lipis commented on GitHub (Sep 26, 2018):
Something like this: http://flag-icon-css.lip.is/api/v1/country/?