Skip to content

advantis-io/paper-countries

 
 

Repository files navigation

Published on Vaadin  Directory Stars on vaadin.com/directory Published on webcomponents.org

paper-countries

Example

<paper-countries label="Country name" placeholder="Enter country name..."></paper-countries>

About

paper-countries is a typeahead component based on Polymer; it allows users to select a country from a list. Think of it as a fun and interactive version of the select input field. We at Blue Water Tracks developed it because we were bored with the usual dropdowns selects fields and wanted to something that was fun using Polymer.

Credit goes out to the creators of flag-icon-css without which we never would have had those beautiful flags.

paper-countries

Installation

The element can be installed using bower

bower install paper-countries

If you want to save it in bower.json file, remember to add flag --save

bower install --save paper-countries

Usage

  • Following code is required to place in the polymer web component.
	<paper-countries country="[[country]]" auto-validate="true"></paper-countries>

Demo

Documentation and Demo

To run the demo locally, install using the installation command above and then go into the components folder and run polymer serve

Contributors

@bhargavkonkathi Programming is like playing chess; each line is as important as each step to determine what kind of player or programmer you are. When ever not playing chess, it's Javascript, Java and mongodb.
@maisnamraju Javascript Ninja; saving the world with one line of javascript at a time. ;)
@dhrytsenko What is my opinion about JavaScript, NodeJS, MongoDB and Polymer? Building blocks to the future! Allowing me to help make the world a better place.

Pull Requests are welcome

If you feel that you have something that could improve the component, please feel free to send a PR or create an issue with an explanation.

License

This project is licensed under the terms of the MIT license.

About

Select Dropdown with list of countries with flags and autocomplete

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 79.9%
  • JavaScript 20.1%