0.1.4 • Published 7 years ago
b-flaggallery v0.1.4
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-devUsage 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.