Polymer element which embeds internationalization.
<script>
class MyElement extends Hostabee.Element {
static get is() {
return 'my-element';
}
}
window.customElements.define(MyElement.is, MyElement);
</script>
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">
-
Fork the
hostabee-element
repository and clone it locally. -
When in the
hostabee-element
directory, runnpm install
and thenbower install
to install dependencies. -
Run
npm start
, browser will automatically open the component API documentation. -
You can also open demo or in-browser tests by adding demo or test to the URL, for example:
- http://127.0.0.1:3000/components/hostabee-element/demo
- http://127.0.0.1:3000/components/hostabee-element/test
- When in the
hostabee-element
directory, runpolymer test
-
Fork it!
-
Create your feature branch:
git checkout -b my-new-feature
-
Commit your changes:
git cz
OR follow this commit guide to write the commit messages. -
Push to the branch:
git push origin my-new-feature
-
Submit a pull request.
Apache License 2.0
Cross-browser Testing Platform and Open Source ❤️Provided by: