https://github.com/hostabee/hostabee-element
Polymer element which embeds internationalization.
https://github.com/hostabee/hostabee-element
hostabee polymer polymer-element web-component webcomponents
Last synced: 6 months ago
JSON representation
Polymer element which embeds internationalization.
- Host: GitHub
- URL: https://github.com/hostabee/hostabee-element
- Owner: Hostabee
- License: apache-2.0
- Created: 2019-07-19T16:18:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T03:49:28.000Z (over 3 years ago)
- Last Synced: 2025-03-08T19:07:20.663Z (over 1 year ago)
- Topics: hostabee, polymer, polymer-element, web-component, webcomponents
- Language: HTML
- Size: 701 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# \
[](https://travis-ci.org/Hostabee/hostabee-element)
[](https://app.saucelabs.com/u/mlouchart)
[](http://commitizen.github.io/cz-cli/) [](https://greenkeeper.io/)
Polymer element which embeds internationalization.
```html
class MyElement extends Hostabee.Element {
static get is() {
return 'my-element';
}
}
window.customElements.define(MyElement.is, MyElement);
```
## Installation
Install ``:
```shell
bower install Hostabee/hostabee-element --save
```
Once installed, import it in your application:
```html
```
## Running demos and tests in a browser
1. Fork the `hostabee-element` repository and clone it locally.
2. Make sure you have [npm](https://www.npmjs.com/) and [Bower](https://bower.io) 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:
- http://127.0.0.1:3000/components/hostabee-element/demo
- http://127.0.0.1:3000/components/hostabee-element/test
## 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](https://conventionalcommits.org/) 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:
[
](https://saucelabs.com)
## Browsers compatibility matrix
[](https://saucelabs.com/u/mlouchart)