circle_flags

A collection of circular country flags.

Demo

to view all flags https://hatscripts.github.io/circle-flags/gallery

Usage


// use a valid country code
CircleFlag('us');
CircleFlag('fr');
CircleFlag('es');

Preloading

// this will preload all flags
for (var isoCode in ['fr', 'us']) {
  CircleFlagLoader.load(isoCode.name);
}

Issues & Contributing

This package uses flags from https://github.com/HatScripts/circle-flags

If a change is required to one of the flag the issue should be opened in that repository.

Libraries

circle_flags