Skip to content

Really drawer in LitElement based on awesome PolymerElements/app-layout

License

Notifications You must be signed in to change notification settings

reallyland/really-drawer

Repository files navigation

really-drawer

Really drawer element in LitElement


Version Built with lit-element MIT License

Downloads Total downloads Packagephobia Bundlephobia

Build Status Dependency Status

codebeat badge Codacy Badge Code of Conduct

Better element for the web

Table of contents

Pre-requisites

Installation

# Install via NPM
$ npm install really-drawer

Usage

HTML (w/ native ES modules)

<!-- For the sake of brevity, the HTML below is just for reference -->
<!doctype html>
<html>
  <head>
    <!-- Native ES modules -->
    <script type="module" src="/path/to/my-element.js"></script>
  </head>

  <body>
    <!-- Element declaration -->
    <my-element></my-element>
  </body>
</html>

JS/ TS file (w/ native ES modules)

import { html, LitElement } from '@polymer/lit-element';
import 'really-drawer.js';

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

License

MIT License © Rong Sen Ng (motss)

About

Really drawer in LitElement based on awesome PolymerElements/app-layout

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published