Simple vue wrapper for the original flag-icon-css created by lipis.
yarn add b-flagGallery -D or npm i b-flagGallery --save-dev
import b-flagGallery from 'b-flagGallery/src/components/b-flagGallery'
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.