Nocturnal Programmer's Machine

    This package has been deprecated

    Author message:

    DEPRECATED: This package has moved to angular-flagpack. Please install angular-flagpack instead using npm install angular-flagpack --save

    angular-flag-pack
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.10 • Public • Published

    Angular Flag Pack

    A project made by Yummygum

    Installation

    npm install angular-flag-pack -S

    Declare module

    import { FlagComponent } from 'angular-flag-pack'
     
    @NgModule({
      ...
      declarations: [
        FlagComponent
      ],
      imports: [
        BrowserModule, // is required
      ],
      ...
    })

    Use in your template:

     <flag
      code="nl"
      size="m"
      gradient="top-down"
      [dropshadow]="true"
      [hasBorder]="true"
      [hasBorderRadius]="true">
    </flag>

    Available component options

    key value required default format
    country code String true none see all codes
    size String false l 's', 'm' or 'l'
    className String false - -
    dropshadow boolean false false -
    hasBorder boolean false true -
    hasBorderRadius boolean false true -
    customBorderRadius String false - -
    gradient String false '' 'top-down', 'real-linear' or 'real-circular'

    Install

    npm i angular-flag-pack

    Homepage

    flagpack.xyz

    DownloadsWeekly Downloads

    12

    Version

    0.1.10

    License

    MIT

    Unpacked Size

    42.8 kB

    Total Files

    31

    Last publish

    Collaborators

    • noudadrichem
    • yummygum