This is a small piece of code for a reusable custom element for our logo.
Go to file
Greenscreener c0accc71f2 Merge branch 'vojta001/use-template' into 'master'
Use shared template to improve readability and possibly performance.

See merge request patek-devs/patek-logo-custom-element!2
2019-07-14 15:32:48 +00:00
examples.html Fixed layuot slightly, added more examples. 2019-07-08 17:32:09 +02:00
LICENSE Add LICENSE 2019-07-08 15:54:06 +00:00
patekLogo.js Use shared template to improve readability and possibly performance. 2019-07-14 16:35:59 +02:00
README.md Forgot about adding that. 2019-07-08 15:54:52 +02:00

Pátek Logo Custom Element

Reusable custom element for the Pátek logo.

Installation

Include the patekLogo.js file into your HTML file.

<script src="path/to/patekLogo.js"></script>

Usage

<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.