0.0.2 • Published 3 years ago

@llbeyer/stencil-test v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Built With Stencil

⚠ Button directive for testing purpose

Simple button web component which tracks the times it has been clicked

Usage

  1. Import the web component (for example via cdn with script-tag)
  2. Use custom html element

import from cdn via script tag

<script type="module" src="https://unpkg.com/@llbeyer/stencil-test@0.0.1/dist/t-01-starter/t-01-starter.esm.js"></script>

Properties of the button:

  • disabled: true / false (e.g. )
  • color: primary default / warn / error (e.g. <mt-button color="warn")
  • type: flat default / elevated / text (e.g. <mt-button type="elevated")
0.0.2

3 years ago

0.0.1

3 years ago