0.0.3 • Published 2 years ago

@a2000/stack v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Stack

Renders immediate child components as a vertical stack

Quick Start

  1. Begin by installing with your favourite package manager:

npm install @a2000/stack

  1. Use within your HTML templates as follows:
<!DOCTYPE html>
<html>
  <head>
    <title>Quick Start</title>
    <meta charset="UTF-8" />
  </head>

  <body>
    <!-- Use web components in your HTML like regular built-in elements. -->
    <a2k-stack>
      <p>The stack component</p>
      <p>The stack component</p>
    </a2k-stack>

    <!-- a2k web components use standard JavaScript modules. -->
    <script type="module">
      import "@a2000/progress/a2k-stack.js";
    </script>
  </body>
</html>