b-flaggallery
v0.1.4
Published
Simple vue wrapper for the original [flag-icon-css](https://github.com/lipis/flag-icon-css) created by lipis.
Downloads
2
Readme
b-flagGallery
Simple vue wrapper for the original flag-icon-css created by lipis.
Project setup
yarn add b-flagGallery -D or npm i b-flagGallery --save-dev
Usage example
import b-flagGallery from 'b-flagGallery/src/components/b-flagGallery'
Props
name : gallery | default: Nil | type: Array of objects
|Name |Definiton |Values |Type |Default | |:-:|:-:|:-:|:-:|:-:| | gallery | Array of objects containing the country codes | | Array of Objects | Nil |
eg :
<bflagGallery :gallery='[{flags:[{ccode: 'in'},{ ccode: 'us'}]},{flags:[{ccode: 'gr'},{ ccode: 'ar'}]}]'/>
Nation codes and flags can be browsed from here flag-icon-css.lip.is.