accordion-sidebar

sidebar in accordion project

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
accordion-sidebar
0.0.104 years ago4 years agoMinified + gzip package size for accordion-sidebar in KB

Readme

npm-module-template

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>
    `;
  }
}