0.1.10 • Published 4 years ago

@accordion/active-service-chart v0.1.10

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

Pre-requisites

Installation

npm install <name>

Usage

HTML (with native ES modules)

<!doctype html>
<html>
  <head>
    <script type="module" src="/path/to/my-element.js"></script>
  </head>

  <body>
    <my-element></my-element>
  </body>
</html>

JS/ TS file (ES modules)

import { css, html, LitElement } from 'lit-element';
import 'accordion-sidebar.js';

class MainApp extends LitElement {
  public static styles = [
    css`
    :host {
      display: block;
    }

    * {
      box-sizing: border-box;
    }
    `,
  ];

  protected render() {
    return html`
    <my-element></my-element>
    `;
  }
}