dropdown-button-le

A dropdown-button lit-element

Usage no npm install needed!

<script type="module">
  import dropdownButtonLe from 'https://cdn.skypack.dev/dropdown-button-le';
</script>

README

dropdown-button

A dropdown-button lit-element

Use a LitElement component

  1. From your project folder, install the component from npm.
npm install --save dropdown-button-le

Import the component.

In a JavaScript module:

import 'dropdown-button-le';

Or in HTML

<script type="module">
  import './node_modules/responsive-flex-le/src/dropdown-button.js';
</script>

OR

<script
  type="module"
  src="./node_modules/responsive-flex-le/src/dropdown-button.js"
></script>
  1. Add the component to your application or component:
<dropdown-button></dropdown-button>