/angular-v6-elements

Demo of elements with angular

Primary LanguageTypeScript

Angular Elements Component Demo

Build a custom Angular Elements Component and use it anywhere.

  1. git clone
  2. npm install
  3. npm run build:elements

This will create the custom component elements/custom-elements.js.

Usage

You can use your custom Angular Elements component in any HTML page like so...

<app-custom-element></app-custom-element>
<script src="../elements/custom-element.js"></script>

Or simply open {local-path-to}/demo/index.html in your browser.