b-flaggallery

0.1.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i b-flaggallery

Weekly Downloads

2

Version

0.1.4

License

none

Unpacked Size

439 kB

Total Files

17

Last publish

Collaborators

  • ppk7891
  • vishnuchandran