0.1.10 • Published 5 years ago

angular-flag-pack v0.1.10

Weekly downloads
7
License
MIT
Repository
-
Last release
5 years ago

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

keyvaluerequireddefaultformat
country codeStringtruenonesee all codes
sizeStringfalsel's', 'm' or 'l'
classNameStringfalse--
dropshadowbooleanfalsefalse-
hasBorderbooleanfalsetrue-
hasBorderRadiusbooleanfalsetrue-
customBorderRadiusStringfalse--
gradientStringfalse'''top-down', 'real-linear' or 'real-circular'
0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago