iamartyom / ngx-flag-picker Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://iamartyom.github.io/ngx-flag-picker/
License: MIT License
Home Page: https://iamartyom.github.io/ngx-flag-picker/
License: MIT License
Hi,
Thx for sharing this great component! I integrated it in one of mine.
I tried to override the color from: .select-flags. Unfortunately nothing worked. Is there a way to do it?
Thx & Best Regards
Dennis
It seems that it is not compatible with the latest Angular 11.
Please update it.
Hi.
I cannot be imported in app.module
Repro:
and
Error: src/app/app.module.ts:5:37 - error TS2307: Cannot find module 'ngx-flag-picker' or its corresponding type declarations.
5 import { NgxFlagPickerModule } from 'ngx-flag-picker';
~~~~~~~~~~~~~~~~~
Error: src/app/app.module.ts:11:12 - error NG1010: Value
$ ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 15.1.6
Node: 18.14.0
Package Manager: yarn 1.22.5
OS: win32 x64
Angular: 15.2.9
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1502.8
@angular-devkit/build-angular 15.2.8
@angular-devkit/core 15.1.6
@angular-devkit/schematics 15.1.6
@angular/cli 15.1.6
@schematics/angular 15.1.6
rxjs 7.8.1
typescript 4.9.5
ngx-flag-picker.component.d.ts
set isShowListCountryFlags(value: boolean);
get isShowListCountryFlags(): boolean;
ERROR in node_modules/ngx-flag-picker/lib/ngx-flag-picker/ngx-flag-picker.component.d.ts(6,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/ngx-flag-picker/lib/ngx-flag-picker/ngx-flag-picker.component.d.ts(7,9): error TS1086: An accessor cannot be declared in an ambient context.
I just installed ngx-flag-picker with npm i ngx-flag-picker
.
Added the import to my module, but got this error:
Cannot find module 'ngx-flag-picker' or its corresponding type declarations.ts(2307)
It seems I've installed the source code instead of ngx-flag-picker in my app instead of the compiled module?
The ngx-flag-picker folder inside my node_modules has the following contents:
Did I do something wrong? How can I fix this?
Hi,
I am using angular 13 version but sometime I am getting error in the ngx-flag-picker. So, please let me know if there will be a new version coming for latest angular version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.