1.1.1 • Published 6 years ago

custom-elements-aitarget v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Made With Love   Tweet

npm Package Version License

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

Then, 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

ParameterTypeDescription
nameStringMandatory
urlStringOptional
colorStringAny valid color format (RGB, Hex, etc.) for the heart
sizeNumberA positive real number

Demo

Check out this link.

License

Released under the MIT License.