Directory

← Back

pokemon-selector

� Combo Box Selector for Pokémons. Yep, there's an element for that.

Author

Contributors

Rating

[ This description is mirrored from README.md at github.com/samiheikki/pokemon-selector on 2018-12-05 ]

Bower version Published on webcomponents.org

<pokemon-selector>

Live Demo ↗

<pokemon-selector> is an HTML element for selecting a Pokémon from a dropdown list.

<pokemon-selector></pokemon-selector>

Screenshot of pokemon-selector

Install

bower install pokemon-selector

Usage

<html>
  <head>
    <!-- Import Web Components Polyfill -->
    <script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
    <!-- Import pokemon-selector -->
    <link rel="import" href="bower_components/pokemon-selector/pokemon-selector.html">
  </head>
  <pokemon-selector region="kanto"></pokemon-selector>
</html>

Contributing

  1. Fork the pokemon-selector repository and clone it locally.

  2. When in the pokemon-selector directory, run bower install to install dependencies.

  3. Create a pull request :)

Running demos in browser

  1. Install Polymer CLI: npm install -g polymer-cli

  2. When in the pokemon-selector directory, run polymer serve --o, browser will automatically open the component API documentation.

  3. You can also open demo by adding demo to the URL, for example:

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

Polymer/polymer#^1.4.0

  • paper-item#^1.2.1
  • iron-ajax#^1.4.3
  • vaadin-combo-box#^1.3.0
Released
2017-03-03
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Polymer 1.0+
Browser
Browser Independent
Online