hello-world-fsz47h
v0.0.4
Published
Webcomponent hello-world following open-wc recommendations
Downloads
2
Readme
<hello-world>
Do not download.
This webcomponent follows the open-wc recommendation.
Installation
npm i hello-world-fsz47h
Usage
<script type="module">
import 'hello-world/hello-world.js';
</script>
<hello-world></hello-world>
Usage in Angular
Import in your @NgModule (for example in app.module.ts) and use Custom elements schema:
import 'hello-world-fsz47h';
schemas: [CUSTOM_ELEMENTS_SCHEMA]
In HTML use like this:
<hello-world
title="This is title"
[counter]="number">
</hello-world>