Nuclear Pumpkin Mocha

    This package has been deprecated

    Author message:

    Package is no longer maintained, use a span element instead: https://github.com/Passiverecords/angular-flag-icon-css/issues/39

    ngx-flag-icon-css
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    ngx-flag-icon-css

    npm version


    flag-icon-css for Angular 2+


    Example:

    <flag-icon country="fr" squared></flag-icon>
    • country (Input):
      the ISO 3166-1-alpha-2 code of the flag's country

    • squared (Input):
      if added, will render a squared version of the flag


    Install:

    1. Install both this library as well as flag-icon-css
    npm install ngx-flag-icon-css flag-icon-css
    1. Add the path to the flag-icon-css stylesheet to your angular.json file (inside the "styles" entry)
      Note: This key should still exist in the old .angular-cli.json format
    "styles"[
      "src/styles.css",
      "node_modules/flag-icon-css/css/flag-icon.min.css"
    ],

    Keywords

    none

    Install

    npm i ngx-flag-icon-css

    DownloadsWeekly Downloads

    1,966

    Version

    1.0.1

    License

    none

    Unpacked Size

    45.7 kB

    Total Files

    26

    Last publish

    Collaborators

    • anthonyl_web