No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addon
app
config
public/images
tests
vendor
.bowerrc
.editorconfig
.ember-cli
.eslintrc.js
.gitignore
.jshintrc
.npmignore
.travis.yml
.watchmanconfig
LICENSE.md
README.md
ember-cli-build.js
index.js
package.json
testem.js
yarn.lock

README.md

Ember-World-Flags

npm Version Build Status Ember Observer Score

This addon provides a world-flag component that can display any country's flag in 16x16 or 32x32.

Installation

  • ember-cli < 0.2.3 ember install:addon ember-world-flags
  • ember-cli >= 0.2.3 ember install ember-world-flags

Example Usage

{{world-flag "ca"}}
{{world-flag "ca" 16}}
{{world-flag "ca" 32}}

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.

Contributing

This README outlines the details of collaborating on this Ember addon.

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.