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

0.2.1 • Public • Published

Angular Flag Pack

A project made by Yummygum

Installation

npm install angular-flagpack -S

Declare module

import { AngularFlagpackModule } from 'angular-flagpack';
 
@NgModule({
  ...
  imports: [
    AngularFlagpackModule // add it here.
  ],
  ...
})

Use in your template:

<lib-angular-flagpack
  code="nl"
  size="m"
  gradient="top-down"
  [hasDropShadow]="true"
  [hasBorder]="true"
  [hasBorderRadius]="true">
</lib-angular-flagpack>

Or use with defaults

<lib-angular-flagpack code="528"></lib-angular-flagpack>

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 - -
hasDropShadow boolean false false -
hasBorder boolean false true -
hasBorderRadius boolean false true -
gradient String false '' 'top-down', 'real-linear' or 'real-circular'

Package Sidebar

Install

npm i angular-flagpack

Homepage

flagpack.xyz

Weekly Downloads

2

Version

0.2.1

License

none

Unpacked Size

42.3 kB

Total Files

16

Last publish

Collaborators

  • yummygum