angular-flagpack
v0.2.1
Published
> A project made by Yummygum
Downloads
3
Maintainers
Readme
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' |