Comments (2)
Hey @AnthonyNahas
I have been working on a custom component that can be customized with different icon sources for country flags based on this feature, it is a work in progress but it supports already Twemoji icons and tree-shakable on lazy-loaded modules: NgxCountryFlagIcons
The main idea would be shipping only the icon set you want to use (so far, only Twemoji supported) and register those at the module to use.
I will be including the flag-icon-css
pack this week and probably the official flags from svg-country-flags
.
Cheers!
from select-country.
For anyone willing to do this, the twemoji library has the flags starting from 1f1e6-1f1e8.svg
to 1f1ff-1f1fc.svg
, with a total size of 664 KB.
from select-country.
Related Issues (20)
- Angular 14 support HOT 1
- Can we get Hungarian localization? HOT 1
- Change language "on the fly" globally
- Angular 15 HOT 2
- Error retrieving icon :af! this.tokenGetter is not a function HOT 2
- <mat-select-country> inside a Angular Material Table HOT 3
- translation not working with predefined [countries] input HOT 1
- large bundle size HOT 1
- Angular 16 HOT 11
- Flags are displayed incorrectly HOT 1
- Not able to get the images
- How do I change dropdown background color?
- Angular 17 support HOT 1
- Error: Error retrieving icon :al! Http failure response for http://localhost:4200/assets/svg-country-flags/svg/al.svg: 404 Not Found HOT 3
- Swedish localization HOT 1
- Input properties don't update/save correctly HOT 3
- Value initialization with language input does not work HOT 2
- Adding ability to fetch entire Country array
- Bug - Text not rendered on mat-stepper reactive forms HOT 1
- Custom Autocomplete displayed text HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from select-country.