A custom element that displays a "Made With Love" message:
This is an experimental project which uses Angular Elements for demonstration purposes. Don't use this custom element in production!
For additional information, check out this article.
Nothing 😏
Copy the following stylesheet link into your <head>
:
<link rel="stylesheet" href="https://unpkg.com/custom-link/dist/made-with-love.css">
Copy the following script reference before the closing of your <body>
:
<script src="https://unpkg.com/custom-link/dist/made-with-love.js"></script>
Alternatively, you can install this package using npm:
npm install custom-link
Then, you should load both above files out of node-modules/custom-link/dist
.
Insert the following line in your html
file:
<made-with-love name="Nitay Neeman" url="http://nitayneeman.com" size="1.5"></made-with-love>
Parameter | Type | Description |
---|---|---|
name |
String | Mandatory |
url |
String | Optional |
color |
String | Any valid color format (RGB, Hex, etc.) for the heart |
size |
Number | A positive real number |
Check out this link.
Released under the MIT License.
This README was written with ❤️.