custom-elements-aitargetdeprecated

An experimental custom element which demonstrates usage of Angular Elements

Usage no npm install needed!

<script type="module">
  import customElementsAitarget from 'https://cdn.skypack.dev/custom-elements-aitarget';
</script>

README

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

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.


This README was written with :heart:.