17.0.1 • Published 5 months ago

nxt-flags v17.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

nxt-flags

GitHub license npm scope

Angular component to show flags based on country ISO code.

Quick links

Installing

npm install --save nxt-flags

Import flags module

import { FlagsModule } from 'nxt-flags'

@NgModule({
    ...
    imports: [
        ...
        FlagsModule
    ]
})

Add flags SVGs to Angular compilation

{
    ...
    "assets": [
        ...,
        {
            "glob": "**/*",
            "input": "./node_modules/nxt-flags/assets/flags",
            "output": "./assets/flags"
        }
    ]
}

Include it in HTML template

Use the tag nxt-flag with attribute country="xx" (where xx is the ISO 3166-1-alpha-2 code of a country):

<nxt-flag country="br"></nxt-flag>
17.0.1

5 months ago

17.0.0

6 months ago

16.2.0

9 months ago

16.1.0

11 months ago

16.0.0-alpha.8

1 year ago

16.0.0

1 year ago

16.0.0-alpha.0

1 year ago

16.0.0-alpha.1

1 year ago

15.0.0

1 year ago

15.0.1

1 year ago

16.0.0-alpha.6

1 year ago

14.0.0

1 year ago

13.0.0

2 years ago

13.0.1

2 years ago

12.0.6

3 years ago

12.0.5

3 years ago

12.0.4

3 years ago

12.0.3

3 years ago

12.0.2

3 years ago

12.0.1

3 years ago

12.0.0

3 years ago