An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# \

[![Build Status](https://travis-ci.org/Hostabee/hostabee-element.svg?branch=master)](https://travis-ci.org/Hostabee/hostabee-element)
[![Sauce Test Status](https://saucelabs.com/buildstatus/mlouchart)](https://app.saucelabs.com/u/mlouchart)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Greenkeeper badge](https://badges.greenkeeper.io/Hostabee/hostabee-element.svg)](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

[![Sauce Test Status](https://saucelabs.com/browser-matrix/mlouchart.svg)](https://saucelabs.com/u/mlouchart)