patek-logo-custom-element/README.md
2019-07-17 22:47:35 +02:00

20 lines
511 B
Markdown

# Pátek Logo Custom Element
Reusable custom element for the Pátek logo.
## Installation
Include the patek-logo.js file into your HTML file.
```html
<script src="path/to/patek-logo.js"></script>
```
## Usage
```html
<patek-logo title="<your title here>" subtitle="<your subtitle here>"></patek-logo>
```
If no `title` or `subtitle` attribute is set, it defaults to `"Pátek"` and `""` respectively.
The logo **will** obey all CSS rules.
## Examples
You can find examples in [examples.html](examples.html).