1.0.5 • Published 8 years ago
custom-link-element v1.0.5
Made With Love   
A custom element that displays a "Made With Love" message:
Disclaimer
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.
Dependencies
Nothing :smirk:
How to Install
CDN
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>npm
Alternatively, you can install this package using npm:
npm install custom-linkThen, you should load both above files out of node-modules/custom-link/dist.
How to Use
Insert the following line in your html file:
<made-with-love name="Nitay Neeman" url="http://nitayneeman.com" size="1.5"></made-with-love>Parameters
| 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 | 
Demo
Check out this link.
License
Released under the MIT License.