Giter Club home page Giter Club logo

ngx-flag-picker's People

Contributors

dependabot[bot] avatar iamartyom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ngx-flag-picker's Issues

Overriding CSS

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

Not working in Angular 15

Hi.

I cannot be imported in app.module

Repro:

  1. ng new test-app
  2. cd test-app
  3. yarn add ngx-flag-picker
  4. ng build

Effect:
image

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

Error Accessor

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.

Cannot find module

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:
image

Did I do something wrong? How can I fix this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.