@seed-catalog/dropdown

    1.0.4 • Public • Published

    Seed Dropdown

    Documentation

    Npm

    npm install @seed-catalog/dropdown
    

    How to use

    import { LitElement, html, css } from 'lit-element';
    import { seedStyle } from '@seed-catalog/styles';
    import '@seed-catalog/dropdown';
    
    class MyComponent extends LitElement {
      static get styles() {
        return [
          seedStyle,
          css`
            ...
          `
        ];
      }
    
      render() {
        return html`
          <seed-dropdown position="relative">
            <button slot="button" class="sd-btn red">Dropdown</button>
            <p slot="content">
              Lorem ipsum dolor sit amet, consectetur adipiscing elit.
              Cras ut viverra leo, vel dapibus quam. Proin a sollicitudin quam,
              eget viverra diam. Donec euismod mattis dignissim.
            </p>
          </seed-dropdown>
        `;
      }
    }

    Link: https://www.npmjs.com/package/@seed-catalog/dropdown

    Install

    npm i @seed-catalog/dropdown

    DownloadsWeekly Downloads

    13

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    7.68 kB

    Total Files

    5

    Last publish

    Collaborators

    • vicdata