0.1.12 • Published 5 years ago

c-flag v0.1.12

Weekly downloads
36
License
-
Repository
-
Last release
5 years ago

c-flag

Simple vue wrapper for the original flag-icon-css flag icon set , created by lipis.

Project setup

yarn add c-flag or npm i c-flag

Usage example

import cflag from 'c-flag/src/components/c-flag.vue'

Props

NameDefinitonValuesTypeDefault
ccodeCountry code of the corresponding flag to be shownAny country codes (Country codes can be browsed from here ISO.org.)StringNil
levelShows profeciency level as circle strength around the flag depending on the value selected.'fair', 'good', 'fluent', 'mother-tongue'StringNil
countryCountry name to be shown above the flag component.Any stringStringNil

Ex : For India

<cflag :characteristics="[{level:'fluent',ccode:'in',country:'India'}]"/>
0.1.12

5 years ago

0.1.11

5 years ago

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.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago