0.0.13 • Published 5 years ago

crs-dropdown-container v0.0.13

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

CRS dropdown container

Install

npm install --save crs-dropdown-container

Introduction

This is a simple container component that exists in two parts.

  1. Dropdown input
  2. Container

Both you can add custom UI too.

<crs-dropdown-container>
    <div slot="label">
        <span>My Label</span>
    </div>
    <div slot="content">
        <div>Content 1</div>
        <div>Content 2</div>
    </div>
</crs-dropdown-container>

Interaction

Clicking on the the input will drop down the container.

Custom styles

The following css variables can be used to update coloring:

  1. --tool-background, affects the background
  2. --border, affects the border color
  3. --primary, affects icon color, should be primary color of app
0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago