Hostabee / hostabee-element

Polymer element which embeds internationalization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<hostabee-element>

Build Status Sauce Test Status Commitizen friendly Greenkeeper badge

Polymer element which embeds internationalization.

<script>
  class MyElement extends Hostabee.Element {
    static get is() {
      return 'my-element';
    }
  }
  window.customElements.define(MyElement.is, MyElement);
</script>

Installation

Install <hostabee-element>:

bower install Hostabee/hostabee-element --save

Once installed, import it in your application:

<link rel="import" href="bower_components/hostabee-element/hostabee-element.html">

Running demos and tests in a browser

  1. Fork the hostabee-element repository and clone it locally.

  2. Make sure you have npm and Bower installed.

  3. When in the hostabee-element directory, run npm install and then bower install to install dependencies.

  4. Run npm start, browser will automatically open the component API documentation.

  5. You can also open demo or in-browser tests by adding demo or test to the URL, for example:

Running Tests

  • When in the hostabee-element directory, run polymer test

Contributing

  1. Fork it!

  2. Create your feature branch: git checkout -b my-new-feature

  3. Commit your changes: git cz OR follow this commit guide to write the commit messages.

  4. Push to the branch: git push origin my-new-feature

  5. Submit a pull request.

License

Apache License 2.0

Big Thanks

Cross-browser Testing Platform and Open Source ❤️Provided by:

Browsers compatibility matrix

Sauce Test Status

About

Polymer element which embeds internationalization.

License:Apache License 2.0


Languages

Language:HTML 100.0%