Skip to content

tenders-exposed/ember-world-flags

 
 

Repository files navigation

Ember-World-Flags

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/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.4%
  • HTML 17.0%
  • CSS 5.6%