spartacus-test-component
v0.3.0
Published
Generated Nutmeg Web Component
Downloads
2
Maintainers
Readme
<my-test-component>
Install
Polyfill tags if you need them. This will include ShadowDOM and Custom Elements support.
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@latest/bundles/webcomponents-sd-ce.js"></script>
Loading this component. It would be a good idea to use a specific version instead of latest
.
<script src="https://unpkg.com/my-test-component@latest/dist/my-test-component.min.js"></script>
Usage
<my-test-component></my-test-component>
<my-test-component name="Pickle"></my-test-component>
<my-test-component>Slot content</my-test-component>
License
MyTestComponent is released under an MIT license.
Built, tested, and published with Nutmeg.