1.0.0 • Published 8 years ago
sf-slides2 v1.0.0
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/angular-made-with-love/dist/made-with-love.css">Copy the following script reference before the closing of your <body>:
<script src="https://unpkg.com/angular-made-with-love/dist/made-with-love.js"></script>npm
Alternatively, you can install this package using npm:
npm install angular-made-with-loveThen, you should load both above files out of node-modules/angular-made-with-love/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.
1.0.0
8 years ago