New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

angular-flagpack

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-flagpack

> A project made by Yummygum

latest
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

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

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

Keywords

angular

FAQs

Package last updated on 23 Jul 2020

Related posts