This addon provides a world-flag component that can display any country's flag in 16x16 or 32x32.
- ember-cli < 0.2.3
ember install:addon ember-world-flags - ember-cli >= 0.2.3
ember install ember-world-flags
in the examples above, "ca" is the ISO 3166-1 alpha-2 code and where 16 or 32 represent the width & height of the flags in pixels. The only sizes currently available are 16 and 32.
Check out the demo on github pages.
This README outlines the details of collaborating on this Ember addon.
git clonethis repositorynpm installbower install
ember server- Visit your app at http://localhost:4200.
npm test(Runsember try:testallto test your addon against multiple Ember versions)ember testember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.